home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Utilities / Stack Dissector 1.1 < prev    next >
MacBinary  |  1994-04-30  |  67.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Stack Dissector 1.1

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PageFocus Data (other/pageFocusData) ext Unsupported
100% file MacBinary II, inited, Wed Jul 29 17:55:24 1992, modified Sat Apr 30 14:47:43 1994, creator HyperCard, type HyperCard stack, 68576 bytes "Stack Dissector 1.1" , at 0x10c60 599 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 53 74 61 63 6b 20 | 44 69 73 73 65 63 74 6f |..Stack |Dissecto|
|00000010| 72 20 31 2e 31 00 00 00 | 00 00 00 00 00 00 00 00 |r 1.1...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 0b e0 00 | 00 02 57 a6 9c c4 4c a9 |........|..W...L.|
|00000060| e8 58 4f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.XO.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a2 b2 00 00 |........|........|
|00000080| 00 00 22 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..".STAK|........|
|00000090| 00 00 00 0a 00 01 0b e0 | 00 00 22 00 00 00 00 00 |........|..".....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a ac 00 00 00 02 |........|........|
|000000b0| 00 00 10 cb 00 00 11 8c | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 01 80 00 | 02 01 80 00 02 10 80 01 |........|........|
|000000f0| de 18 bf 3b 00 00 00 00 | 00 66 00 e0 01 56 02 80 |...;....|.f...V..|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 68 00 00 0c 1b | 00 f0 01 a0 00 00 00 00 |...h....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |-- Copyr|ight 199|
|00000690| 32 2c 20 4d 69 74 63 68 | 65 6c 6c 20 53 65 77 61 |2, Mitch|ell Sewa|
|000006a0| 72 64 2c 20 53 68 6f 65 | 53 74 72 69 6e 67 20 26 |rd, Shoe|String &|
|000006b0| 20 42 6f 78 57 6f 6f 64 | 20 53 6f 66 74 77 61 72 | BoxWood| Softwar|
|000006c0| 65 2c 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |e, All R|ights Re|
|000006d0| 73 65 72 76 65 64 0d 0d | 2d 2d 20 54 68 65 20 53 |served..|-- The S|
|000006e0| 74 61 63 6b 20 44 69 73 | 73 65 63 74 6f 72 20 73 |tack Dis|sector s|
|000006f0| 74 61 63 6b 27 73 20 73 | 63 72 69 70 74 20 63 6f |tack's s|cript co|
|00000700| 6e 74 61 69 6e 73 3a 0d | 0d 2d 2d 20 20 20 a5 20 |ntains:.|.-- . |
|00000710| 61 20 73 65 72 69 65 73 | 20 6f 66 20 68 61 6e 64 |a series| of hand|
|00000720| 6c 65 72 73 20 74 6f 20 | 6d 61 6e 61 67 65 20 74 |lers to |manage t|
|00000730| 68 65 20 73 77 69 74 63 | 68 69 6e 67 20 62 65 74 |he switc|hing bet|
|00000740| 77 65 65 6e 0d 2d 2d 20 | 20 20 20 20 20 20 53 74 |ween.-- | St|
|00000750| 61 63 6b 20 44 69 73 73 | 65 63 74 6f 72 20 61 6e |ack Diss|ector an|
|00000760| 64 20 74 68 65 20 74 61 | 72 67 65 74 20 73 74 61 |d the ta|rget sta|
|00000770| 63 68 0d 0d 2d 2d 20 20 | 20 a5 20 74 68 65 20 67 |ch..-- | . the g|
|00000780| 65 74 53 63 72 69 70 74 | 28 29 20 68 61 6e 64 6c |etScript|() handl|
|00000790| 65 72 20 66 6f 72 20 72 | 65 74 72 69 65 76 69 6e |er for r|etrievin|
|000007a0| 67 20 64 6f 4f 62 6a 65 | 63 74 28 29 20 73 63 72 |g doObje|ct() scr|
|000007b0| 69 70 74 73 20 66 72 6f | 6d 0d 2d 2d 20 20 20 20 |ipts fro|m.-- |
|000007c0| 20 20 20 74 68 65 69 72 | 20 63 6f 6e 74 61 69 6e | their| contain|
|000007d0| 65 72 73 0d 0d 2d 2d 20 | 20 20 a5 20 74 68 65 20 |ers..-- | . the |
|000007e0| 69 67 6e 6f 72 65 42 6c | 61 6e 6b 4c 69 6e 65 73 |ignoreBl|ankLines|
|000007f0| 28 29 20 68 61 6e 64 6c | 65 72 20 66 6f 72 20 6d |() handl|er for m|
|00000800| 6f 64 69 66 79 69 6e 67 | 20 74 68 65 20 6c 69 6e |odifying| the lin|
|00000810| 65 20 6e 75 6d 62 65 72 | 20 6f 66 0d 2d 2d 20 20 |e number| of.-- |
|00000820| 20 20 20 20 20 74 68 65 | 20 63 6c 69 63 6b 65 64 | the| clicked|
|00000830| 20 6c 69 6e 65 20 69 6e | 20 74 68 65 20 44 61 74 | line in| the Dat|
|00000840| 61 20 54 72 65 65 20 77 | 68 65 6e 20 74 68 61 74 |a Tree w|hen that|
|00000850| 20 6c 69 6e 65 20 68 61 | 70 70 65 6e 73 20 74 6f | line ha|ppens to|
|00000860| 20 62 65 0d 2d 2d 20 20 | 20 20 20 20 20 62 6c 61 | be.-- | bla|
|00000870| 6e 6b 2e 0d 0d 2d 2d 20 | 20 20 a5 20 61 20 73 65 |nk...-- | . a se|
|00000880| 72 69 65 73 20 6f 66 20 | 6c 6f 77 20 6c 65 76 65 |ries of |low leve|
|00000890| 6c 20 75 74 69 6c 69 74 | 69 65 73 20 66 6f 72 20 |l utilit|ies for |
|000008a0| 6d 61 6e 69 70 75 6c 61 | 74 69 6e 67 20 73 74 72 |manipula|ting str|
|000008b0| 69 6e 67 73 0d 2d 2d 20 | 20 20 20 20 20 20 61 6e |ings.-- | an|
|000008c0| 64 20 69 6e 73 65 72 74 | 69 6e 67 20 6c 69 6e 65 |d insert|ing line|
|000008d0| 73 20 69 6e 74 6f 20 74 | 68 65 20 44 61 74 61 20 |s into t|he Data |
|000008e0| 54 72 65 65 20 66 69 65 | 6c 64 0d 0d 6f 6e 20 6f |Tree fie|ld..on o|
|000008f0| 70 65 6e 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |penStack|.global |
|00000900| 69 6e 64 65 6e 74 57 69 | 64 74 68 0d 0d 2d 2d 20 |indentWi|dth..-- |
|00000910| 64 65 66 69 6e 65 20 68 | 6f 77 20 77 69 64 65 20 |define h|ow wide |
|00000920| 61 6e 20 69 6e 64 65 6e | 74 61 74 69 6f 6e 20 73 |an inden|tation s|
|00000930| 68 6f 75 6c 64 20 62 65 | 0d 70 75 74 20 33 20 69 |hould be|.put 3 i|
|00000940| 6e 74 6f 20 69 6e 64 65 | 6e 74 57 69 64 74 68 0d |nto inde|ntWidth.|
|00000950| 0d 73 65 74 20 75 73 65 | 72 4c 65 76 65 6c 20 74 |.set use|rLevel t|
|00000960| 6f 20 35 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 |o 5.end |openStac|
|00000970| 6b 0d 0d 6f 6e 20 6f 70 | 65 6e 43 61 72 64 0d 67 |k..on op|enCard.g|
|00000980| 6c 6f 62 61 6c 20 74 68 | 69 73 43 61 72 64 0d 0d |lobal th|isCard..|
|00000990| 2d 2d 20 67 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |-- get t|he name |
|000009a0| 6f 66 20 74 68 69 73 20 | 63 61 72 64 0d 70 75 74 |of this |card.put|
|000009b0| 20 74 68 65 20 6c 6f 6e | 67 20 6e 61 6d 65 20 6f | the lon|g name o|
|000009c0| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 6e 74 6f |f this c|ard into|
|000009d0| 20 74 68 69 73 43 61 72 | 64 0d 65 6e 64 20 6f 70 | thisCar|d.end op|
|000009e0| 65 6e 43 61 72 64 0d 0d | 6f 6e 20 72 65 73 75 6d |enCard..|on resum|
|000009f0| 65 53 74 61 63 6b 0d 73 | 65 74 20 75 73 65 72 6c |eStack.s|et userl|
|00000a00| 65 76 65 6c 20 74 6f 20 | 35 0d 0d 2d 2d 20 6d 61 |evel to |5..-- ma|
|00000a10| 6b 65 20 73 75 72 65 20 | 79 6f 75 27 76 65 20 67 |ke sure |you've g|
|00000a20| 6f 74 20 74 68 65 20 62 | 72 6f 77 73 65 20 74 6f |ot the b|rowse to|
|00000a30| 6f 6c 20 61 6e 64 20 61 | 72 65 20 6c 6f 6f 6b 69 |ol and a|re looki|
|00000a40| 6e 67 20 61 74 20 74 68 | 65 20 63 61 72 64 20 6c |ng at th|e card l|
|00000a50| 61 79 65 72 0d 74 79 70 | 65 20 74 61 62 20 77 69 |ayer.typ|e tab wi|
|00000a60| 74 68 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 2c 73 68 |th comma|ndKey,sh|
|00000a70| 69 66 74 4b 65 79 0d 65 | 6e 64 20 72 65 73 75 6d |iftKey.e|nd resum|
|00000a80| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 67 6f 42 61 63 |eStack..|on goBac|
|00000a90| 6b 0d 67 6c 6f 62 61 6c | 20 74 68 69 73 43 61 72 |k.global| thisCar|
|00000aa0| 64 0d 0d 67 6f 20 74 6f | 20 74 68 69 73 43 61 72 |d..go to| thisCar|
|00000ab0| 64 0d 65 6e 64 20 67 6f | 42 61 63 6b 0d 0d 66 75 |d.end go|Back..fu|
|00000ac0| 6e 63 74 69 6f 6e 20 67 | 65 74 53 63 72 69 70 74 |nction g|etScript|
|00000ad0| 20 66 69 65 6c 64 4e 61 | 6d 65 0d 2d 2d 20 67 65 | fieldNa|me.-- ge|
|00000ae0| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 69 6e 20 |t the sc|ript in |
|00000af0| 74 68 65 20 66 69 65 6c | 64 0d 70 75 74 20 74 68 |the fiel|d.put th|
|00000b00| 65 20 73 63 72 69 70 74 | 20 6f 66 20 62 6b 67 6e |e script| of bkgn|
|00000b10| 64 20 66 69 65 6c 64 20 | 66 69 65 6c 64 4e 61 6d |d field |fieldNam|
|00000b20| 65 20 69 6e 74 6f 20 73 | 63 72 69 70 74 53 74 72 |e into s|criptStr|
|00000b30| 69 6e 67 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |ing.put |the numb|
|00000b40| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 73 |er of li|nes in s|
|00000b50| 63 72 69 70 74 53 74 72 | 69 6e 67 20 69 6e 74 6f |criptStr|ing into|
|00000b60| 20 73 63 72 69 70 74 4c | 65 6e 67 74 68 0d 0d 2d | scriptL|ength..-|
|00000b70| 2d 20 74 72 69 6d 20 6f | 66 66 20 74 68 65 20 66 |- trim o|ff the f|
|00000b80| 69 72 73 74 20 61 6e 64 | 20 6c 61 73 74 20 6c 69 |irst and| last li|
|00000b90| 6e 65 73 0d 69 66 20 73 | 63 72 69 70 74 4c 65 6e |nes.if s|criptLen|
|00000ba0| 67 74 68 20 3e 20 32 20 | 74 68 65 6e 0d 72 65 74 |gth > 2 |then.ret|
|00000bb0| 75 72 6e 20 6c 69 6e 65 | 20 32 20 74 6f 20 28 73 |urn line| 2 to (s|
|00000bc0| 63 72 69 70 74 4c 65 6e | 67 74 68 20 2d 20 31 29 |criptLen|gth - 1)|
|00000bd0| 20 6f 66 20 73 63 72 69 | 70 74 53 74 72 69 6e 67 | of scri|ptString|
|00000be0| 0d 65 6c 73 65 0d 72 65 | 74 75 72 6e 20 65 6d 70 |.else.re|turn emp|
|00000bf0| 74 79 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 67 65 |ty.end i|f.end ge|
|00000c00| 74 53 63 72 69 70 74 0d | 0d 66 75 6e 63 74 69 6f |tScript.|.functio|
|00000c10| 6e 20 69 67 6e 6f 72 65 | 42 6c 61 6e 6b 4c 69 6e |n ignore|BlankLin|
|00000c20| 65 73 20 6c 69 6e 65 4e | 75 6d 62 65 72 0d 70 75 |es lineN|umber.pu|
|00000c30| 74 20 6c 69 6e 65 20 6c | 69 6e 65 4e 75 6d 62 65 |t line l|ineNumbe|
|00000c40| 72 20 6f 66 20 66 69 65 | 6c 64 20 22 44 61 74 61 |r of fie|ld "Data|
|00000c50| 20 54 72 65 65 22 20 69 | 6e 74 6f 20 6c 69 6e 65 | Tree" i|nto line|
|00000c60| 53 74 72 69 6e 67 0d 0d | 2d 2d 20 69 66 20 74 68 |String..|-- if th|
|00000c70| 65 20 63 75 72 72 65 6e | 74 20 6c 69 6e 65 20 69 |e curren|t line i|
|00000c80| 73 20 62 6c 61 6e 6b 20 | 74 68 65 6e 20 62 61 63 |s blank |then bac|
|00000c90| 6b 20 75 70 20 74 6f 20 | 61 20 6e 6f 6e 62 6c 61 |k up to |a nonbla|
|00000ca0| 6e 6b 20 6c 69 6e 65 0d | 72 65 70 65 61 74 20 77 |nk line.|repeat w|
|00000cb0| 68 69 6c 65 20 28 6c 69 | 6e 65 4e 75 6d 62 65 72 |hile (li|neNumber|
|00000cc0| 20 3e 3d 20 31 29 20 61 | 6e 64 20 28 74 68 65 20 | >= 1) a|nd (the |
|00000cd0| 66 69 72 73 74 20 77 6f | 72 64 20 6f 66 20 6c 69 |first wo|rd of li|
|00000ce0| 6e 65 53 74 72 69 6e 67 | 20 3d 20 22 22 29 0d 70 |neString| = "").p|
|00000cf0| 75 74 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 2d 20 |ut lineN|umber - |
|00000d00| 31 20 69 6e 74 6f 20 6c | 69 6e 65 4e 75 6d 62 65 |1 into l|ineNumbe|
|00000d10| 72 0d 0d 70 75 74 20 6c | 69 6e 65 20 6c 69 6e 65 |r..put l|ine line|
|00000d20| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|00000d30| 22 44 61 74 61 20 54 72 | 65 65 22 20 69 6e 74 6f |"Data Tr|ee" into|
|00000d40| 20 6c 69 6e 65 53 74 72 | 69 6e 67 0d 65 6e 64 20 | lineStr|ing.end |
|00000d50| 72 65 70 65 61 74 0d 0d | 2d 2d 20 6d 61 6b 65 20 |repeat..|-- make |
|00000d60| 73 75 72 65 20 79 6f 75 | 20 72 65 74 75 72 6e 20 |sure you| return |
|00000d70| 61 20 76 61 6c 69 64 20 | 6c 69 6e 65 20 6e 75 6d |a valid |line num|
|00000d80| 62 65 72 0d 69 66 20 6c | 69 6e 65 4e 75 6d 62 65 |ber.if l|ineNumbe|
|00000d90| 72 20 3e 3d 20 31 20 74 | 68 65 6e 0d 72 65 74 75 |r >= 1 t|hen.retu|
|00000da0| 72 6e 20 6c 69 6e 65 4e | 75 6d 62 65 72 0d 65 6c |rn lineN|umber.el|
|00000db0| 73 65 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |se.exit |to Hyper|
|00000dc0| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00000dd0| 69 67 6e 6f 72 65 42 6c | 61 6e 6b 4c 69 6e 65 73 |ignoreBl|ankLines|
|00000de0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 74 72 69 6d 42 |..functi|on trimB|
|00000df0| 6c 61 6e 6b 73 20 74 65 | 78 74 53 74 72 69 6e 67 |lanks te|xtString|
|00000e00| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 28 74 |.repeat |while (t|
|00000e10| 68 65 20 66 69 72 73 74 | 20 63 68 61 72 20 6f 66 |he first| char of|
|00000e20| 20 74 65 78 74 53 74 72 | 69 6e 67 20 3d 20 22 20 | textStr|ing = " |
|00000e30| 22 29 0d 70 75 74 20 63 | 68 61 72 20 32 20 74 6f |").put c|har 2 to|
|00000e40| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00000e50| 63 68 61 72 73 20 69 6e | 20 74 65 78 74 53 74 72 |chars in| textStr|
|00000e60| 69 6e 67 29 20 6f 66 20 | 74 65 78 74 53 74 72 69 |ing) of |textStri|
|00000e70| 6e 67 20 69 6e 74 6f 20 | 74 65 78 74 53 74 72 69 |ng into |textStri|
|00000e80| 6e 67 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 72 |ng.end r|epeat..r|
|00000e90| 65 74 75 72 6e 20 74 65 | 78 74 53 74 72 69 6e 67 |eturn te|xtString|
|00000ea0| 0d 65 6e 64 20 74 72 69 | 6d 42 6c 61 6e 6b 73 0d |.end tri|mBlanks.|
|00000eb0| 0d 66 75 6e 63 74 69 6f | 6e 20 69 6e 64 65 6e 74 |.functio|n indent|
|00000ec0| 53 74 72 69 6e 67 20 74 | 65 78 74 53 74 72 69 6e |String t|extStrin|
|00000ed0| 67 2c 20 6c 65 76 65 6c | 0d 67 6c 6f 62 61 6c 20 |g, level|.global |
|00000ee0| 69 6e 64 65 6e 74 57 69 | 64 74 68 0d 0d 70 75 74 |indentWi|dth..put|
|00000ef0| 20 74 72 69 6d 42 6c 61 | 6e 6b 73 28 74 65 78 74 | trimBla|nks(text|
|00000f00| 53 74 72 69 6e 67 29 20 | 69 6e 74 6f 20 74 65 78 |String) |into tex|
|00000f10| 74 53 74 72 69 6e 67 0d | 70 75 74 20 28 63 68 61 |tString.|put (cha|
|00000f20| 72 20 31 20 74 6f 20 28 | 28 6c 65 76 65 6c 2d 31 |r 1 to (|(level-1|
|00000f30| 29 2a 69 6e 64 65 6e 74 | 57 69 64 74 68 29 20 6f |)*indent|Width) o|
|00000f40| 66 20 22 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |f " | |
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fa0| 20 20 22 29 20 26 20 74 | 65 78 74 53 74 72 69 6e | ") & t|extStrin|
|00000fb0| 67 20 69 6e 74 6f 20 74 | 65 78 74 53 74 72 69 6e |g into t|extStrin|
|00000fc0| 67 0d 0d 72 65 74 75 72 | 6e 20 74 65 78 74 53 74 |g..retur|n textSt|
|00000fd0| 72 69 6e 67 0d 65 6e 64 | 20 69 6e 64 65 6e 74 53 |ring.end| indentS|
|00000fe0| 74 72 69 6e 67 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |tring..f|unction |
|00000ff0| 69 6e 64 65 6e 74 48 61 | 6e 64 6c 65 72 20 74 65 |indentHa|ndler te|
|00001000| 78 74 53 74 72 69 6e 67 | 2c 20 6c 65 76 65 6c 0d |xtString|, level.|
|00001010| 67 6c 6f 62 61 6c 20 69 | 6e 64 65 6e 74 57 69 64 |global i|ndentWid|
|00001020| 74 68 0d 0d 70 75 74 20 | 28 63 68 61 72 20 31 20 |th..put |(char 1 |
|00001030| 74 6f 20 28 28 6c 65 76 | 65 6c 2d 31 29 2a 69 6e |to ((lev|el-1)*in|
|00001040| 64 65 6e 74 57 69 64 74 | 68 29 20 6f 66 20 22 20 |dentWidt|h) of " |
|00001050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 22 29 | | ")|
|000010b0| 20 26 20 74 65 78 74 53 | 74 72 69 6e 67 20 69 6e | & textS|tring in|
|000010c0| 74 6f 20 74 65 78 74 53 | 74 72 69 6e 67 0d 0d 72 |to textS|tring..r|
|000010d0| 65 74 75 72 6e 20 74 65 | 78 74 53 74 72 69 6e 67 |eturn te|xtString|
|000010e0| 0d 65 6e 64 20 69 6e 64 | 65 6e 74 48 61 6e 64 6c |.end ind|entHandl|
|000010f0| 65 72 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6c 6f 61 |er..func|tion loa|
|00001100| 64 48 65 61 64 65 72 20 | 74 65 78 74 53 74 72 69 |dHeader |textStri|
|00001110| 6e 67 2c 20 74 79 70 65 | 53 74 72 69 6e 67 2c 20 |ng, type|String, |
|00001120| 6c 65 76 65 6c 2c 20 6c | 69 6e 65 4e 75 6d 62 65 |level, l|ineNumbe|
|00001130| 72 2c 20 68 65 61 64 65 | 72 43 6f 6e 74 72 6f 6c |r, heade|rControl|
|00001140| 0d 0d 2d 2d 20 70 75 74 | 20 69 6e 20 74 68 65 20 |..-- put| in the |
|00001150| 68 65 61 64 65 72 20 6c | 69 6e 65 0d 69 66 20 68 |header l|ine.if h|
|00001160| 65 61 64 65 72 43 6f 6e | 74 72 6f 6c 20 3d 20 22 |eaderCon|trol = "|
|00001170| 68 65 61 64 65 72 20 6e | 65 65 64 65 64 22 20 74 |header n|eeded" t|
|00001180| 68 65 6e 0d 69 6e 73 65 | 72 74 48 65 61 64 65 72 |hen.inse|rtHeader|
|00001190| 20 74 65 78 74 53 74 72 | 69 6e 67 2c 20 74 79 70 | textStr|ing, typ|
|000011a0| 65 53 74 72 69 6e 67 2c | 20 6c 65 76 65 6c 2c 20 |eString,| level, |
|000011b0| 6c 69 6e 65 4e 75 6d 62 | 65 72 0d 0d 72 65 74 75 |lineNumb|er..retu|
|000011c0| 72 6e 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 2b 20 |rn lineN|umber + |
|000011d0| 31 0d 65 6c 73 65 0d 72 | 65 74 75 72 6e 20 6c 69 |1.else.r|eturn li|
|000011e0| 6e 65 4e 75 6d 62 65 72 | 0d 65 6e 64 20 69 66 0d |neNumber|.end if.|
|000011f0| 65 6e 64 20 6c 6f 61 64 | 48 65 61 64 65 72 0d 0d |end load|Header..|
|00001200| 66 75 6e 63 74 69 6f 6e | 20 6c 6f 61 64 53 74 72 |function| loadStr|
|00001210| 69 6e 67 20 74 65 78 74 | 53 74 72 69 6e 67 2c 20 |ing text|String, |
|00001220| 69 64 53 74 72 69 6e 67 | 2c 20 74 79 70 65 53 74 |idString|, typeSt|
|00001230| 72 69 6e 67 2c 20 6c 65 | 76 65 6c 2c 20 6c 69 6e |ring, le|vel, lin|
|00001240| 65 4e 75 6d 62 65 72 0d | 0d 69 6e 73 65 72 74 53 |eNumber.|.insertS|
|00001250| 74 72 69 6e 67 20 74 65 | 78 74 53 74 72 69 6e 67 |tring te|xtString|
|00001260| 2c 20 69 64 53 74 72 69 | 6e 67 2c 20 74 79 70 65 |, idStri|ng, type|
|00001270| 53 74 72 69 6e 67 2c 20 | 6c 65 76 65 6c 2c 20 6c |String, |level, l|
|00001280| 69 6e 65 4e 75 6d 62 65 | 72 0d 0d 72 65 74 75 72 |ineNumbe|r..retur|
|00001290| 6e 20 6c 69 6e 65 4e 75 | 6d 62 65 72 20 2b 20 28 |n lineNu|mber + (|
|000012a0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000012b0| 6e 65 73 20 69 6e 20 74 | 65 78 74 53 74 72 69 6e |nes in t|extStrin|
|000012c0| 67 29 0d 65 6e 64 20 6c | 6f 61 64 53 74 72 69 6e |g).end l|oadStrin|
|000012d0| 67 0d 0d 6f 6e 20 69 6e | 73 65 72 74 53 74 72 69 |g..on in|sertStri|
|000012e0| 6e 67 20 74 65 78 74 53 | 74 72 69 6e 67 2c 20 69 |ng textS|tring, i|
|000012f0| 64 53 74 72 69 6e 67 2c | 20 74 79 70 65 53 74 72 |dString,| typeStr|
|00001300| 69 6e 67 2c 20 6c 65 76 | 65 6c 2c 20 6c 69 6e 65 |ing, lev|el, line|
|00001310| 4e 75 6d 62 65 72 0d 0d | 70 75 74 20 74 68 65 20 |Number..|put the |
|00001320| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00001330| 69 6e 20 74 65 78 74 53 | 74 72 69 6e 67 20 69 6e |in textS|tring in|
|00001340| 74 6f 20 74 65 78 74 4c | 65 6e 67 74 68 0d 0d 72 |to textL|ength..r|
|00001350| 65 70 65 61 74 20 77 69 | 74 68 20 63 75 72 72 65 |epeat wi|th curre|
|00001360| 6e 74 4c 69 6e 65 20 3d | 20 31 20 74 6f 20 74 65 |ntLine =| 1 to te|
|00001370| 78 74 4c 65 6e 67 74 68 | 0d 69 66 20 74 65 78 74 |xtLength|.if text|
|00001380| 4c 65 6e 67 74 68 20 3e | 20 33 20 74 68 65 6e 20 |Length >| 3 then |
|00001390| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000013a0| 73 79 0d 0d 70 75 74 20 | 69 6e 64 65 6e 74 53 74 |sy..put |indentSt|
|000013b0| 72 69 6e 67 28 6c 69 6e | 65 20 63 75 72 72 65 6e |ring(lin|e curren|
|000013c0| 74 4c 69 6e 65 20 6f 66 | 20 74 65 78 74 53 74 72 |tLine of| textStr|
|000013d0| 69 6e 67 2c 20 6c 65 76 | 65 6c 29 20 69 6e 74 6f |ing, lev|el) into|
|000013e0| 20 6c 69 6e 65 20 63 75 | 72 72 65 6e 74 4c 69 6e | line cu|rrentLin|
|000013f0| 65 20 6f 66 20 20 74 65 | 78 74 53 74 72 69 6e 67 |e of te|xtString|
|00001400| 0d 70 75 74 20 6c 65 76 | 65 6c 20 20 20 20 20 20 |.put lev|el |
|00001410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001430| 20 20 20 20 20 20 20 20 | 20 69 6e 74 6f 20 6c 69 | | into li|
|00001440| 6e 65 20 63 75 72 72 65 | 6e 74 4c 69 6e 65 20 6f |ne curre|ntLine o|
|00001450| 66 20 6c 65 76 65 6c 53 | 74 72 69 6e 67 0d 65 6e |f levelS|tring.en|
|00001460| 64 20 72 65 70 65 61 74 | 0d 0d 69 66 20 6c 69 6e |d repeat|..if lin|
|00001470| 65 4e 75 6d 62 65 72 20 | 3e 20 30 20 74 68 65 6e |eNumber |> 0 then|
|00001480| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 26 20 20 74 |.put ret|urn & t|
|00001490| 65 78 74 53 74 72 69 6e | 67 20 61 66 74 65 72 20 |extStrin|g after |
|000014a0| 6c 69 6e 65 20 6c 69 6e | 65 4e 75 6d 62 65 72 20 |line lin|eNumber |
|000014b0| 6f 66 20 66 69 65 6c 64 | 20 22 44 61 74 61 20 54 |of field| "Data T|
|000014c0| 72 65 65 22 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |ree".put| return |
|000014d0| 26 20 20 20 20 69 64 53 | 74 72 69 6e 67 20 61 66 |& idS|tring af|
|000014e0| 74 65 72 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d |ter line| lineNum|
|000014f0| 62 65 72 20 6f 66 20 66 | 69 65 6c 64 20 22 49 44 |ber of f|ield "ID|
|00001500| 20 54 61 62 6c 65 22 0d | 70 75 74 20 72 65 74 75 | Table".|put retu|
|00001510| 72 6e 20 26 20 20 74 79 | 70 65 53 74 72 69 6e 67 |rn & ty|peString|
|00001520| 20 61 66 74 65 72 20 6c | 69 6e 65 20 6c 69 6e 65 | after l|ine line|
|00001530| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|00001540| 22 54 79 70 65 20 54 61 | 62 6c 65 22 0d 70 75 74 |"Type Ta|ble".put|
|00001550| 20 72 65 74 75 72 6e 20 | 26 20 6c 65 76 65 6c 53 | return |& levelS|
|00001560| 74 72 69 6e 67 20 61 66 | 74 65 72 20 6c 69 6e 65 |tring af|ter line|
|00001570| 20 6c 69 6e 65 4e 75 6d | 62 65 72 20 6f 66 20 66 | lineNum|ber of f|
|00001580| 69 65 6c 64 20 22 4c 65 | 76 65 6c 20 54 61 62 6c |ield "Le|vel Tabl|
|00001590| 65 22 0d 65 6c 73 65 0d | 70 75 74 20 20 20 20 20 |e".else.|put |
|000015a0| 20 20 20 20 20 20 74 65 | 78 74 53 74 72 69 6e 67 | te|xtString|
|000015b0| 20 61 66 74 65 72 20 6c | 69 6e 65 20 6c 69 6e 65 | after l|ine line|
|000015c0| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|000015d0| 22 44 61 74 61 20 54 72 | 65 65 22 0d 70 75 74 20 |"Data Tr|ee".put |
|000015e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 64 53 74 | | idSt|
|000015f0| 72 69 6e 67 20 61 66 74 | 65 72 20 6c 69 6e 65 20 |ring aft|er line |
|00001600| 6c 69 6e 65 4e 75 6d 62 | 65 72 20 6f 66 20 66 69 |lineNumb|er of fi|
|00001610| 65 6c 64 20 22 49 44 20 | 54 61 62 6c 65 22 0d 70 |eld "ID |Table".p|
|00001620| 75 74 20 20 20 20 20 20 | 20 20 20 20 20 74 79 70 |ut | typ|
|00001630| 65 53 74 72 69 6e 67 20 | 61 66 74 65 72 20 6c 69 |eString |after li|
|00001640| 6e 65 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 6f 66 |ne lineN|umber of|
|00001650| 20 66 69 65 6c 64 20 22 | 54 79 70 65 20 54 61 62 | field "|Type Tab|
|00001660| 6c 65 22 0d 70 75 74 20 | 20 20 20 20 20 20 20 20 |le".put | |
|00001670| 20 6c 65 76 65 6c 53 74 | 72 69 6e 67 20 61 66 74 | levelSt|ring aft|
|00001680| 65 72 20 6c 69 6e 65 20 | 6c 69 6e 65 4e 75 6d 62 |er line |lineNumb|
|00001690| 65 72 20 6f 66 20 66 69 | 65 6c 64 20 22 4c 65 76 |er of fi|eld "Lev|
|000016a0| 65 6c 20 54 61 62 6c 65 | 22 0d 65 6e 64 20 69 66 |el Table|".end if|
|000016b0| 0d 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |..set th|e textSt|
|000016c0| 79 6c 65 20 6f 66 20 6c | 69 6e 65 20 6c 69 6e 65 |yle of l|ine line|
|000016d0| 4e 75 6d 62 65 72 2b 31 | 20 74 6f 20 6c 69 6e 65 |Number+1| to line|
|000016e0| 4e 75 6d 62 65 72 2b 74 | 65 78 74 4c 65 6e 67 74 |Number+t|extLengt|
|000016f0| 68 20 6f 66 20 66 69 65 | 6c 64 20 22 44 61 74 61 |h of fie|ld "Data|
|00001700| 20 54 72 65 65 22 20 20 | 20 74 6f 20 70 6c 61 69 | Tree" | to plai|
|00001710| 6e 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |n.set th|e textSt|
|00001720| 79 6c 65 20 6f 66 20 6c | 69 6e 65 20 6c 69 6e 65 |yle of l|ine line|
|00001730| 4e 75 6d 62 65 72 2b 31 | 20 74 6f 20 6c 69 6e 65 |Number+1| to line|
|00001740| 4e 75 6d 62 65 72 2b 74 | 65 78 74 4c 65 6e 67 74 |Number+t|extLengt|
|00001750| 68 20 6f 66 20 66 69 65 | 6c 64 20 22 49 44 20 54 |h of fie|ld "ID T|
|00001760| 61 62 6c 65 22 20 20 20 | 20 74 6f 20 70 6c 61 69 |able" | to plai|
|00001770| 6e 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |n.set th|e textSt|
|00001780| 79 6c 65 20 6f 66 20 6c | 69 6e 65 20 6c 69 6e 65 |yle of l|ine line|
|00001790| 4e 75 6d 62 65 72 2b 31 | 20 74 6f 20 6c 69 6e 65 |Number+1| to line|
|000017a0| 4e 75 6d 62 65 72 2b 74 | 65 78 74 4c 65 6e 67 74 |Number+t|extLengt|
|000017b0| 68 20 6f 66 20 66 69 65 | 6c 64 20 22 54 79 70 65 |h of fie|ld "Type|
|000017c0| 20 54 61 62 6c 65 22 20 | 20 74 6f 20 70 6c 61 69 | Table" | to plai|
|000017d0| 6e 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |n.set th|e textSt|
|000017e0| 79 6c 65 20 6f 66 20 6c | 69 6e 65 20 6c 69 6e 65 |yle of l|ine line|
|000017f0| 4e 75 6d 62 65 72 2b 31 | 20 74 6f 20 6c 69 6e 65 |Number+1| to line|
|00001800| 4e 75 6d 62 65 72 2b 74 | 65 78 74 4c 65 6e 67 74 |Number+t|extLengt|
|00001810| 68 20 6f 66 20 66 69 65 | 6c 64 20 22 4c 65 76 65 |h of fie|ld "Leve|
|00001820| 6c 20 54 61 62 6c 65 22 | 20 74 6f 20 70 6c 61 69 |l Table"| to plai|
|00001830| 6e 0d 65 6e 64 20 69 6e | 73 65 72 74 53 74 72 69 |n.end in|sertStri|
|00001840| 6e 67 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6c 6f 61 |ng..func|tion loa|
|00001850| 64 48 61 6e 64 6c 65 72 | 20 74 65 78 74 53 74 72 |dHandler| textStr|
|00001860| 69 6e 67 2c 20 6c 65 76 | 65 6c 2c 20 6c 69 6e 65 |ing, lev|el, line|
|00001870| 4e 75 6d 62 65 72 0d 0d | 70 75 74 20 74 68 65 20 |Number..|put the |
|00001880| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00001890| 20 69 6e 20 74 65 78 74 | 53 74 72 69 6e 67 20 69 | in text|String i|
|000018a0| 6e 74 6f 20 74 65 78 74 | 4c 65 6e 67 74 68 0d 70 |nto text|Length.p|
|000018b0| 75 74 20 6c 69 6e 65 20 | 31 20 74 6f 20 74 65 78 |ut line |1 to tex|
|000018c0| 74 4c 65 6e 67 74 68 20 | 6f 66 20 74 65 78 74 53 |tLength |of textS|
|000018d0| 74 72 69 6e 67 20 69 6e | 74 6f 20 74 65 78 74 53 |tring in|to textS|
|000018e0| 74 72 69 6e 67 0d 0d 69 | 6e 73 65 72 74 48 61 6e |tring..i|nsertHan|
|000018f0| 64 6c 65 72 20 74 65 78 | 74 53 74 72 69 6e 67 2c |dler tex|tString,|
|00001900| 20 6c 65 76 65 6c 2c 20 | 6c 69 6e 65 4e 75 6d 62 | level, |lineNumb|
|00001910| 65 72 0d 0d 72 65 74 75 | 72 6e 20 6c 69 6e 65 4e |er..retu|rn lineN|
|00001920| 75 6d 62 65 72 20 2b 20 | 74 65 78 74 4c 65 6e 67 |umber + |textLeng|
|00001930| 74 68 0d 65 6e 64 20 6c | 6f 61 64 48 61 6e 64 6c |th.end l|oadHandl|
|00001940| 65 72 0d 0d 6f 6e 20 69 | 6e 73 65 72 74 48 61 6e |er..on i|nsertHan|
|00001950| 64 6c 65 72 20 74 65 78 | 74 53 74 72 69 6e 67 2c |dler tex|tString,|
|00001960| 20 6c 65 76 65 6c 2c 20 | 6c 69 6e 65 4e 75 6d 62 | level, |lineNumb|
|00001970| 65 72 0d 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |er..put |the numb|
|00001980| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 20 69 6e 20 |er of li|nes in |
|00001990| 74 65 78 74 53 74 72 69 | 6e 67 20 69 6e 74 6f 20 |textStri|ng into |
|000019a0| 74 65 78 74 4c 65 6e 67 | 74 68 0d 70 75 74 20 6c |textLeng|th.put l|
|000019b0| 69 6e 65 20 31 20 74 6f | 20 74 65 78 74 4c 65 6e |ine 1 to| textLen|
|000019c0| 67 74 68 20 6f 66 20 74 | 65 78 74 53 74 72 69 6e |gth of t|extStrin|
|000019d0| 67 20 69 6e 74 6f 20 74 | 65 78 74 53 74 72 69 6e |g into t|extStrin|
|000019e0| 67 0d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |g..repea|t with c|
|000019f0| 75 72 72 65 6e 74 4c 69 | 6e 65 20 3d 20 31 20 74 |urrentLi|ne = 1 t|
|00001a00| 6f 20 74 65 78 74 4c 65 | 6e 67 74 68 0d 69 66 20 |o textLe|ngth.if |
|00001a10| 74 65 78 74 4c 65 6e 67 | 74 68 20 3e 20 33 20 74 |textLeng|th > 3 t|
|00001a20| 68 65 6e 20 73 65 74 20 | 63 75 72 73 6f 72 20 74 |hen set |cursor t|
|00001a30| 6f 20 62 75 73 79 0d 0d | 70 75 74 20 69 6e 64 65 |o busy..|put inde|
|00001a40| 6e 74 48 61 6e 64 6c 65 | 72 28 6c 69 6e 65 20 63 |ntHandle|r(line c|
|00001a50| 75 72 72 65 6e 74 4c 69 | 6e 65 20 6f 66 20 74 65 |urrentLi|ne of te|
|00001a60| 78 74 53 74 72 69 6e 67 | 2c 20 6c 65 76 65 6c 29 |xtString|, level)|
|00001a70| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 63 75 72 72 65 | into li|ne curre|
|00001a80| 6e 74 4c 69 6e 65 20 6f | 66 20 20 74 65 78 74 53 |ntLine o|f textS|
|00001a90| 74 72 69 6e 67 0d 70 75 | 74 20 22 20 22 20 20 20 |tring.pu|t " " |
|00001aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00001ad0| 6e 74 6f 20 6c 69 6e 65 | 20 63 75 72 72 65 6e 74 |nto line| current|
|00001ae0| 4c 69 6e 65 20 6f 66 20 | 20 20 20 69 64 53 74 72 |Line of | idStr|
|00001af0| 69 6e 67 0d 70 75 74 20 | 22 73 63 72 69 70 74 22 |ing.put |"script"|
|00001b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 74 | | int|
|00001b30| 6f 20 6c 69 6e 65 20 63 | 75 72 72 65 6e 74 4c 69 |o line c|urrentLi|
|00001b40| 6e 65 20 6f 66 20 20 74 | 79 70 65 53 74 72 69 6e |ne of t|ypeStrin|
|00001b50| 67 0d 70 75 74 20 6c 65 | 76 65 6c 20 20 20 20 20 |g.put le|vel |
|00001b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b80| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 6f 20 | | into |
|00001b90| 6c 69 6e 65 20 63 75 72 | 72 65 6e 74 4c 69 6e 65 |line cur|rentLine|
|00001ba0| 20 6f 66 20 6c 65 76 65 | 6c 53 74 72 69 6e 67 0d | of leve|lString.|
|00001bb0| 65 6e 64 20 72 65 70 65 | 61 74 0d 0d 70 75 74 20 |end repe|at..put |
|00001bc0| 72 65 74 75 72 6e 20 26 | 20 20 74 65 78 74 53 74 |return &| textSt|
|00001bd0| 72 69 6e 67 20 61 66 74 | 65 72 20 6c 69 6e 65 20 |ring aft|er line |
|00001be0| 6c 69 6e 65 4e 75 6d 62 | 65 72 20 6f 66 20 66 69 |lineNumb|er of fi|
|00001bf0| 65 6c 64 20 22 44 61 74 | 61 20 54 72 65 65 22 0d |eld "Dat|a Tree".|
|00001c00| 70 75 74 20 72 65 74 75 | 72 6e 20 26 20 20 20 20 |put retu|rn & |
|00001c10| 69 64 53 74 72 69 6e 67 | 20 61 66 74 65 72 20 6c |idString| after l|
|00001c20| 69 6e 65 20 6c 69 6e 65 | 4e 75 6d 62 65 72 20 6f |ine line|Number o|
|00001c30| 66 20 66 69 65 6c 64 20 | 22 49 44 20 54 61 62 6c |f field |"ID Tabl|
|00001c40| 65 22 0d 70 75 74 20 72 | 65 74 75 72 6e 20 26 20 |e".put r|eturn & |
|00001c50| 20 74 79 70 65 53 74 72 | 69 6e 67 20 61 66 74 65 | typeStr|ing afte|
|00001c60| 72 20 6c 69 6e 65 20 6c | 69 6e 65 4e 75 6d 62 65 |r line l|ineNumbe|
|00001c70| 72 20 6f 66 20 66 69 65 | 6c 64 20 22 54 79 70 65 |r of fie|ld "Type|
|00001c80| 20 54 61 62 6c 65 22 0d | 70 75 74 20 72 65 74 75 | Table".|put retu|
|00001c90| 72 6e 20 26 20 6c 65 76 | 65 6c 53 74 72 69 6e 67 |rn & lev|elString|
|00001ca0| 20 61 66 74 65 72 20 6c | 69 6e 65 20 6c 69 6e 65 | after l|ine line|
|00001cb0| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|00001cc0| 22 4c 65 76 65 6c 20 54 | 61 62 6c 65 22 0d 0d 73 |"Level T|able"..s|
|00001cd0| 65 74 20 74 68 65 20 74 | 65 78 74 53 74 79 6c 65 |et the t|extStyle|
|00001ce0| 20 6f 66 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d | of line| lineNum|
|00001cf0| 62 65 72 2b 31 20 74 6f | 20 6c 69 6e 65 4e 75 6d |ber+1 to| lineNum|
|00001d00| 62 65 72 2b 74 65 78 74 | 4c 65 6e 67 74 68 2d 31 |ber+text|Length-1|
|00001d10| 20 6f 66 20 66 69 65 6c | 64 20 22 44 61 74 61 20 | of fiel|d "Data |
|00001d20| 54 72 65 65 22 20 20 20 | 74 6f 20 70 6c 61 69 6e |Tree" |to plain|
|00001d30| 0d 73 65 74 20 74 68 65 | 20 74 65 78 74 53 74 79 |.set the| textSty|
|00001d40| 6c 65 20 6f 66 20 6c 69 | 6e 65 20 6c 69 6e 65 4e |le of li|ne lineN|
|00001d50| 75 6d 62 65 72 2b 31 20 | 74 6f 20 6c 69 6e 65 4e |umber+1 |to lineN|
|00001d60| 75 6d 62 65 72 2b 74 65 | 78 74 4c 65 6e 67 74 68 |umber+te|xtLength|
|00001d70| 2d 31 20 6f 66 20 66 69 | 65 6c 64 20 22 49 44 20 |-1 of fi|eld "ID |
|00001d80| 54 61 62 6c 65 22 20 20 | 20 20 74 6f 20 70 6c 61 |Table" | to pla|
|00001d90| 69 6e 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 53 |in.set t|he textS|
|00001da0| 74 79 6c 65 20 6f 66 20 | 6c 69 6e 65 20 6c 69 6e |tyle of |line lin|
|00001db0| 65 4e 75 6d 62 65 72 2b | 31 20 74 6f 20 6c 69 6e |eNumber+|1 to lin|
|00001dc0| 65 4e 75 6d 62 65 72 2b | 74 65 78 74 4c 65 6e 67 |eNumber+|textLeng|
|00001dd0| 74 68 2d 31 20 6f 66 20 | 66 69 65 6c 64 20 22 54 |th-1 of |field "T|
|00001de0| 79 70 65 20 54 61 62 6c | 65 22 20 20 74 6f 20 70 |ype Tabl|e" to p|
|00001df0| 6c 61 69 6e 0d 73 65 74 | 20 74 68 65 20 74 65 78 |lain.set| the tex|
|00001e00| 74 53 74 79 6c 65 20 6f | 66 20 6c 69 6e 65 20 6c |tStyle o|f line l|
|00001e10| 69 6e 65 4e 75 6d 62 65 | 72 2b 31 20 74 6f 20 6c |ineNumbe|r+1 to l|
|00001e20| 69 6e 65 4e 75 6d 62 65 | 72 2b 74 65 78 74 4c 65 |ineNumbe|r+textLe|
|00001e30| 6e 67 74 68 2d 31 20 6f | 66 20 66 69 65 6c 64 20 |ngth-1 o|f field |
|00001e40| 22 4c 65 76 65 6c 20 54 | 61 62 6c 65 22 20 74 6f |"Level T|able" to|
|00001e50| 20 70 6c 61 69 6e 0d 65 | 6e 64 20 69 6e 73 65 72 | plain.e|nd inser|
|00001e60| 74 48 61 6e 64 6c 65 72 | 0d 0d 6f 6e 20 69 6e 73 |tHandler|..on ins|
|00001e70| 65 72 74 48 65 61 64 65 | 72 20 68 65 61 64 65 72 |ertHeade|r header|
|00001e80| 53 74 72 69 6e 67 2c 20 | 74 79 70 65 53 74 72 69 |String, |typeStri|
|00001e90| 6e 67 2c 20 6c 65 76 65 | 6c 2c 20 6c 69 6e 65 4e |ng, leve|l, lineN|
|00001ea0| 75 6d 62 65 72 0d 69 66 | 20 68 65 61 64 65 72 53 |umber.if| headerS|
|00001eb0| 74 72 69 6e 67 20 3c 3e | 20 22 22 20 74 68 65 6e |tring <>| "" then|
|00001ec0| 0d 70 75 74 20 22 5f 5f | 22 20 26 26 20 68 65 61 |.put "__|" && hea|
|00001ed0| 64 65 72 53 74 72 69 6e | 67 20 26 26 20 22 5f 5f |derStrin|g && "__|
|00001ee0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001ef0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f50| 5f 5f 5f 5f 5f 22 20 69 | 6e 74 6f 20 68 65 61 64 |_____" i|nto head|
|00001f60| 65 72 53 74 72 69 6e 67 | 0d 65 6c 73 65 0d 70 75 |erString|.else.pu|
|00001f70| 74 20 22 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |t "_____|________|
|00001f80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001fa0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001fb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001fc0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001fd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001fe0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001ff0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002000| 5f 5f 22 20 69 6e 74 6f | 20 68 65 61 64 65 72 53 |__" into| headerS|
|00002010| 74 72 69 6e 67 0d 65 6e | 64 20 69 66 0d 0d 69 66 |tring.en|d if..if|
|00002020| 20 74 79 70 65 53 74 72 | 69 6e 67 20 3d 20 22 22 | typeStr|ing = ""|
|00002030| 20 74 68 65 6e 0d 70 75 | 74 20 22 5f 5f 5f 5f 5f | then.pu|t "_____|
|00002040| 5f 5f 5f 5f 5f 5f 5f 22 | 20 69 6e 74 6f 20 74 79 |_______"| into ty|
|00002050| 70 65 53 74 72 69 6e 67 | 0d 65 6e 64 20 69 66 0d |peString|.end if.|
|00002060| 0d 69 6e 73 65 72 74 53 | 74 72 69 6e 67 20 68 65 |.insertS|tring he|
|00002070| 61 64 65 72 53 74 72 69 | 6e 67 2c 20 22 5f 5f 5f |aderStri|ng, "___|
|00002080| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 22 2c 20 74 79 70 65 |________|_", type|
|00002090| 53 74 72 69 6e 67 2c 20 | 6c 65 76 65 6c 2c 20 6c |String, |level, l|
|000020a0| 69 6e 65 4e 75 6d 62 65 | 72 0d 0d 73 65 74 20 74 |ineNumbe|r..set t|
|000020b0| 68 65 20 74 65 78 74 53 | 74 79 6c 65 20 6f 66 20 |he textS|tyle of |
|000020c0| 6c 69 6e 65 20 6c 69 6e | 65 4e 75 6d 62 65 72 2b |line lin|eNumber+|
|000020d0| 31 20 6f 66 20 66 69 65 | 6c 64 20 22 44 61 74 61 |1 of fie|ld "Data|
|000020e0| 20 54 72 65 65 22 20 20 | 20 74 6f 20 62 6f 6c 64 | Tree" | to bold|
|000020f0| 2c 63 6f 6e 64 65 6e 73 | 65 0d 73 65 74 20 74 68 |,condens|e.set th|
|00002100| 65 20 74 65 78 74 53 74 | 79 6c 65 20 6f 66 20 6c |e textSt|yle of l|
|00002110| 69 6e 65 20 6c 69 6e 65 | 4e 75 6d 62 65 72 2b 31 |ine line|Number+1|
|00002120| 20 6f 66 20 66 69 65 6c | 64 20 22 49 44 20 54 61 | of fiel|d "ID Ta|
|00002130| 62 6c 65 22 20 20 20 20 | 74 6f 20 62 6f 6c 64 2c |ble" |to bold,|
|00002140| 63 6f 6e 64 65 6e 73 65 | 0d 73 65 74 20 74 68 65 |condense|.set the|
|00002150| 20 74 65 78 74 53 74 79 | 6c 65 20 6f 66 20 6c 69 | textSty|le of li|
|00002160| 6e 65 20 6c 69 6e 65 4e | 75 6d 62 65 72 2b 31 20 |ne lineN|umber+1 |
|00002170| 6f 66 20 66 69 65 6c 64 | 20 22 54 79 70 65 20 54 |of field| "Type T|
|00002180| 61 62 6c 65 22 20 20 74 | 6f 20 62 6f 6c 64 2c 63 |able" t|o bold,c|
|00002190| 6f 6e 64 65 6e 73 65 0d | 73 65 74 20 74 68 65 20 |ondense.|set the |
|000021a0| 74 65 78 74 53 74 79 6c | 65 20 6f 66 20 6c 69 6e |textStyl|e of lin|
|000021b0| 65 20 6c 69 6e 65 4e 75 | 6d 62 65 72 2b 31 20 6f |e lineNu|mber+1 o|
|000021c0| 66 20 66 69 65 6c 64 20 | 22 4c 65 76 65 6c 20 54 |f field |"Level T|
|000021d0| 61 62 6c 65 22 20 74 6f | 20 62 6f 6c 64 2c 63 6f |able" to| bold,co|
|000021e0| 6e 64 65 6e 73 65 0d 65 | 6e 64 20 69 6e 73 65 72 |ndense.e|nd inser|
|000021f0| 74 48 65 61 64 65 72 00 | 63 6f 6e 64 65 6e 73 65 |tHeader.|condense|
|00002200| 0d 73 65 74 20 74 68 65 | 20 74 65 78 74 53 74 79 |.set the| textSty|
|00002210| 6c 65 20 6f 66 20 6c 69 | 6e 65 20 6c 69 6e 65 4e |le of li|ne lineN|
|00002220| 75 6d 62 65 72 2b 31 20 | 6f 66 20 66 69 65 6c 64 |umber+1 |of field|
|00002230| 20 22 54 79 70 65 20 54 | 61 62 6c 65 22 20 20 74 | "Type T|able" t|
|00002240| 6f 20 62 6f 6c 64 2c 63 | 6f 6e 64 65 6e 73 65 0d |o bold,c|ondense.|
|00002250| 73 65 74 20 74 68 65 20 | 74 65 78 74 53 74 79 6c |set the |textStyl|
|00002260| 65 20 6f 66 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |e of lin|e lineNu|
|00002270| 6d 62 65 72 2b 31 20 6f | 66 20 66 69 65 6c 64 20 |mber+1 o|f field |
|00002280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 01 64 ac 00 03 7a 26 |........|..d...z&|
|000022b0| 00 08 58 1b 00 08 5b 68 | 00 06 12 cf 00 03 73 5f |..X...[h|......s_|
|000022c0| 00 03 fa cb 00 01 20 8c | 00 01 24 39 00 00 00 00 |...... .|..$9....|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002480| 00 00 00 80 4c 49 53 54 | 00 00 11 8c 00 00 00 00 |....LIST|........|
|00002490| 00 00 00 01 00 00 08 00 | 00 00 00 02 00 84 00 02 |........|........|
|000024a0| 00 20 00 03 20 00 02 49 | 00 00 00 02 00 00 00 00 |. .. ..I|........|
|000024b0| 00 00 12 39 00 02 00 00 | 00 00 00 00 00 00 00 00 |...9....|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 08 00 50 41 47 45 | 00 00 12 39 00 00 00 00 |....PAGE|...9....|
|00002510| 00 00 11 8c 0c 00 02 1d | 00 00 10 cb e0 6d 6f b7 |........|.....mo.|
|00002520| df 7f bf 5f cf 3e f7 fb | ff ff f7 b3 ed 7e df fd |..._.>..|.....~..|
|00002530| f9 ff 5f f7 bf 75 bf 7f | ef ff 7f fe ff ff bc db |.._..u..|........|
|00002540| 7e fb ff df ee f7 ff ff | ff cf ff 7d fd 72 fe 5f |~.......|...}.r._|
|00002550| 67 77 fd ff 7f 3a 1d 1f | df ff d7 ff cf ff fd 7f |gw...:..|........|
|00002560| ff ff 7e 73 ef af f7 f3 | f7 bf 9f ff db fd 9f fd |..~s....|........|
|00002570| ef ff 07 df ff be ff ff | af ff fc ed fc 7c fe fd |........|.....|..|
|00002580| f7 ee e7 ef df ff ff f9 | ff bf 7f f7 2e 7b f4 ff |........|.....{..|
|00002590| 3d 7b 7f 7b ff ff af f1 | ff fe df 70 00 00 0e cf |={.{....|...p....|
|000025a0| e0 00 00 10 00 14 00 04 | 20 08 00 01 80 00 00 00 |........| .......|
|000025b0| 44 00 24 80 00 00 10 00 | 00 00 00 00 84 20 50 02 |D.$.....|..... P.|
|000025c0| 00 01 00 00 10 82 00 00 | 20 00 00 00 80 00 00 02 |........| .......|
|000025d0| 00 40 00 00 01 00 29 80 | 00 00 0e 10 04 00 10 00 |.@....).|........|
|000025e0| 81 20 08 20 80 a2 00 00 | 00 02 00 00 04 00 00 00 |. . ....|........|
|000025f0| 07 00 00 10 02 8c 02 00 | 00 00 00 00 00 01 30 04 |........|......0.|
|00002600| 08 40 c0 00 00 80 08 00 | 00 20 00 00 00 20 20 00 |.@......|. ... .|
|00002610| 20 00 40 01 10 09 00 00 | 04 00 00 20 00 00 00 10 | .@.....|... ....|
|00002620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 41 e0 42 4b 47 44 | 00 00 0a ac 00 00 00 00 |..A.BKGD|........|
|00002d10| 00 00 00 00 40 00 00 00 | 00 00 00 01 00 00 0f 5f |....@...|......._|
|00002d20| 00 00 0f 5f 00 11 00 26 | 00 00 1e 04 00 01 00 00 |..._...&|........|
|00002d30| 00 80 00 76 00 0e 02 21 | 00 00 01 72 00 f0 01 a0 |...v...!|...r....|
|00002d40| 00 02 00 00 00 00 ff ff | 00 04 00 09 00 00 00 0c |........|........|
|00002d50| 49 44 20 54 61 62 6c 65 | 00 00 6f 6e 20 6d 6f 75 |ID Table|..on mou|
|00002d60| 73 65 55 70 0d 63 68 65 | 63 6b 43 6c 69 63 6b 20 |seUp.che|ckClick |
|00002d70| 69 67 6e 6f 72 65 42 6c | 61 6e 6b 4c 69 6e 65 73 |ignoreBl|ankLines|
|00002d80| 28 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 63 |(word 2 |of the c|
|00002d90| 6c 69 63 6b 4c 69 6e 65 | 29 0d 65 6e 64 20 6d 6f |lickLine|).end mo|
|00002da0| 75 73 65 55 70 0d 00 00 | 00 78 00 20 02 21 00 00 |useUp...|.x. .!..|
|00002db0| 01 18 00 f0 01 73 00 02 | 00 00 00 00 ff ff 00 04 |.....s..|........|
|00002dc0| 00 09 00 00 00 0c 54 79 | 70 65 20 54 61 62 6c 65 |......Ty|pe Table|
|00002dd0| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 63 68 65 |..on mou|seUp.che|
|00002de0| 63 6b 43 6c 69 63 6b 20 | 69 67 6e 6f 72 65 42 6c |ckClick |ignoreBl|
|00002df0| 61 6e 6b 4c 69 6e 65 73 | 28 77 6f 72 64 20 32 20 |ankLines|(word 2 |
|00002e00| 6f 66 20 74 68 65 20 63 | 6c 69 63 6b 4c 69 6e 65 |of the c|lickLine|
|00002e10| 29 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 00 00 |).end mo|useUp...|
|00002e20| 00 78 00 21 02 20 00 00 | 01 01 00 f0 01 19 00 02 |.x.!. ..|........|
|00002e30| 00 00 00 00 ff ff 00 04 | 00 09 00 00 00 0c 4c 65 |........|......Le|
|00002e40| 76 65 6c 20 54 61 62 6c | 65 00 00 6f 6e 20 6d 6f |vel Tabl|e..on mo|
|00002e50| 75 73 65 55 70 0d 63 68 | 65 63 6b 43 6c 69 63 6b |useUp.ch|eckClick|
|00002e60| 20 69 67 6e 6f 72 65 42 | 6c 61 6e 6b 4c 69 6e 65 | ignoreB|lankLine|
|00002e70| 73 28 77 6f 72 64 20 32 | 20 6f 66 20 74 68 65 20 |s(word 2| of the |
|00002e80| 63 6c 69 63 6b 4c 69 6e | 65 29 0d 65 6e 64 20 6d |clickLin|e).end m|
|00002e90| 6f 75 73 65 55 70 0d 00 | 00 42 00 16 02 15 00 00 |ouseUp..|.B......|
|00002ea0| 00 00 00 0f 00 94 00 02 | 00 00 00 00 00 00 00 04 |........|........|
|00002eb0| 00 09 00 00 00 0c 67 6f | 74 6f 53 74 61 63 6b 00 |......go|toStack.|
|00002ec0| 00 6f 6e 20 64 6f 53 63 | 72 69 70 74 0d 65 6e 64 |.on doSc|ript.end|
|00002ed0| 20 64 6f 53 63 72 69 70 | 74 00 00 7a 00 17 02 15 | doScrip|t..z....|
|00002ee0| 00 0e 00 00 00 1d 00 94 | 00 02 00 00 00 00 00 00 |........|........|
|00002ef0| 00 04 00 09 00 00 00 0c | 67 6f 74 6f 50 6c 61 6e |........|gotoPlan|
|00002f00| 65 00 00 6f 6e 20 64 6f | 53 63 72 69 70 74 0d 69 |e..on do|Script.i|
|00002f10| 66 20 70 6c 61 6e 65 54 | 79 70 65 20 3d 20 22 62 |f planeT|ype = "b|
|00002f20| 6b 67 6e 64 22 20 74 68 | 65 6e 0d 64 6f 4d 65 6e |kgnd" th|en.doMen|
|00002f30| 75 20 22 42 61 63 6b 67 | 72 6f 75 6e 64 22 0d 65 |u "Backg|round".e|
|00002f40| 6e 64 20 69 66 0d 65 6e | 64 20 64 6f 53 63 72 69 |nd if.en|d doScri|
|00002f50| 70 74 00 00 03 76 00 18 | 02 15 00 1c 00 00 00 2b |pt...v..|.......+|
|00002f60| 00 94 00 02 00 00 00 00 | 00 00 00 04 00 09 00 00 |........|........|
|00002f70| 00 0c 67 6f 74 6f 43 6f | 6e 74 61 69 6e 65 72 00 |..gotoCo|ntainer.|
|00002f80| 00 6f 6e 20 64 6f 53 63 | 72 69 70 74 0d 64 6f 20 |.on doSc|ript.do |
|00002f90| 22 70 75 74 20 74 68 65 | 20 76 69 73 69 62 6c 65 |"put the| visible|
|00002fa0| 20 6f 66 22 20 26 26 20 | 70 6c 61 6e 65 54 79 70 | of" && |planeTyp|
|00002fb0| 65 20 26 26 20 63 6f 6e | 74 61 69 6e 65 72 54 79 |e && con|tainerTy|
|00002fc0| 70 65 20 26 26 20 22 69 | 64 22 20 26 26 20 6f 62 |pe && "i|d" && ob|
|00002fd0| 6a 65 63 74 49 44 20 26 | 26 20 22 69 6e 74 6f 20 |jectID &|& "into |
|00002fe0| 6f 62 6a 65 63 74 56 69 | 73 69 62 6c 65 22 0d 0d |objectVi|sible"..|
|00002ff0| 69 66 20 6e 6f 74 20 6f | 62 6a 65 63 74 56 69 73 |if not o|bjectVis|
|00003000| 69 62 6c 65 20 74 68 65 | 6e 0d 70 75 74 20 6e 75 |ible the|n.put nu|
|00003010| 6d 54 6f 43 68 61 72 28 | 63 68 61 72 54 6f 4e 75 |mToChar(|charToNu|
|00003020| 6d 28 74 68 65 20 66 69 | 72 73 74 20 63 68 61 72 |m(the fi|rst char|
|00003030| 20 6f 66 20 6f 62 6a 65 | 63 74 54 79 70 65 29 20 | of obje|ctType) |
|00003040| 2d 20 33 32 29 20 69 6e | 74 6f 20 74 68 65 20 66 |- 32) in|to the f|
|00003050| 69 72 73 74 20 63 68 61 | 72 20 6f 66 20 6f 62 6a |irst cha|r of obj|
|00003060| 65 63 74 54 79 70 65 0d | 0d 61 6e 73 77 65 72 20 |ectType.|.answer |
|00003070| 6f 62 6a 65 63 74 54 79 | 70 65 20 26 26 20 71 75 |objectTy|pe && qu|
|00003080| 6f 74 65 20 26 20 6f 62 | 6a 65 63 74 4e 61 6d 65 |ote & ob|jectName|
|00003090| 20 26 20 71 75 6f 74 65 | 20 26 26 20 22 69 73 20 | & quote| && "is |
|000030a0| 68 69 64 64 65 6e 2e 22 | 20 26 20 72 65 74 75 72 |hidden."| & retur|
|000030b0| 6e 20 26 20 22 44 6f 20 | 79 6f 75 20 77 61 6e 74 |n & "Do |you want|
|000030c0| 20 74 6f 20 6d 61 6b 65 | 20 69 74 20 76 69 73 69 | to make| it visi|
|000030d0| 62 6c 65 3f 22 20 77 69 | 74 68 20 4e 6f 2c 20 59 |ble?" wi|th No, Y|
|000030e0| 65 73 0d 0d 69 66 20 69 | 74 20 3d 20 22 59 65 73 |es..if i|t = "Yes|
|000030f0| 22 20 74 68 65 6e 0d 0d | 2d 2d 20 72 65 64 6f 20 |" then..|-- redo |
|00003100| 74 68 65 20 77 6f 72 6b | 20 6e 75 6c 6c 69 66 79 |the work| nullify|
|00003110| 65 64 20 62 79 20 61 6e | 73 77 65 72 0d 67 6f 20 |ed by an|swer.go |
|00003120| 74 6f 20 73 74 61 63 6b | 20 73 74 61 63 6b 4e 61 |to stack| stackNa|
|00003130| 6d 65 20 69 6e 20 61 20 | 6e 65 77 20 77 69 6e 64 |me in a |new wind|
|00003140| 6f 77 0d 64 6f 20 22 67 | 6f 20 74 6f 22 20 26 26 |ow.do "g|o to" &&|
|00003150| 20 70 6c 61 6e 65 54 79 | 70 65 20 26 26 20 20 20 | planeTy|pe && |
|00003160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 22 | | "|
|00003170| 69 64 22 20 26 26 20 20 | 70 6c 61 6e 65 49 44 0d |id" && |planeID.|
|00003180| 64 6f 20 22 73 68 6f 77 | 22 20 20 26 26 20 70 6c |do "show|" && pl|
|00003190| 61 6e 65 54 79 70 65 20 | 26 26 20 63 6f 6e 74 61 |aneType |&& conta|
|000031a0| 69 6e 65 72 54 79 70 65 | 20 26 26 20 22 69 64 22 |inerType| && "id"|
|000031b0| 20 26 26 20 6f 62 6a 65 | 63 74 49 44 0d 0d 69 66 | && obje|ctID..if|
|000031c0| 20 70 6c 61 6e 65 54 79 | 70 65 20 3d 20 22 62 6b | planeTy|pe = "bk|
|000031d0| 67 6e 64 22 20 74 68 65 | 6e 0d 64 6f 4d 65 6e 75 |gnd" the|n.doMenu|
|000031e0| 20 22 42 61 63 6b 67 72 | 6f 75 6e 64 22 0d 65 6e | "Backgr|ound".en|
|000031f0| 64 20 69 66 0d 0d 64 6f | 20 22 73 65 6c 65 63 74 |d if..do| "select|
|00003200| 22 20 26 26 20 70 6c 61 | 6e 65 54 79 70 65 20 26 |" && pla|neType &|
|00003210| 26 20 63 6f 6e 74 61 69 | 6e 65 72 54 79 70 65 20 |& contai|nerType |
|00003220| 26 26 20 22 69 64 22 20 | 26 26 20 6f 62 6a 65 63 |&& "id" |&& objec|
|00003230| 74 49 44 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d |tID.end |if.else.|
|00003240| 69 66 20 70 6c 61 6e 65 | 54 79 70 65 20 3d 20 22 |if plane|Type = "|
|00003250| 62 6b 67 6e 64 22 20 74 | 68 65 6e 0d 64 6f 4d 65 |bkgnd" t|hen.doMe|
|00003260| 6e 75 20 22 42 61 63 6b | 67 72 6f 75 6e 64 22 0d |nu "Back|ground".|
|00003270| 65 6e 64 20 69 66 0d 0d | 64 6f 20 22 73 65 6c 65 |end if..|do "sele|
|00003280| 63 74 22 20 26 26 20 70 | 6c 61 6e 65 54 79 70 65 |ct" && p|laneType|
|00003290| 20 26 26 20 63 6f 6e 74 | 61 69 6e 65 72 54 79 70 | && cont|ainerTyp|
|000032a0| 65 20 26 26 20 22 69 64 | 22 20 26 26 20 6f 62 6a |e && "id|" && obj|
|000032b0| 65 63 74 49 44 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ectID.en|d if.end|
|000032c0| 20 64 6f 53 63 72 69 70 | 74 00 02 44 00 19 02 15 | doScrip|t..D....|
|000032d0| 00 2c 00 00 00 3b 00 94 | 00 02 00 00 00 00 00 00 |.,...;..|........|
|000032e0| 00 04 00 09 00 00 00 0c | 65 64 69 74 53 74 61 63 |........|editStac|
|000032f0| 6b 49 6e 66 6f 00 00 6f | 6e 20 64 6f 53 63 72 69 |kInfo..o|n doScri|
|00003300| 70 74 0d 70 75 74 20 74 | 68 65 20 73 63 72 69 70 |pt.put t|he scrip|
|00003310| 74 20 20 20 20 20 6f 66 | 20 74 68 69 73 20 73 74 |t of| this st|
|00003320| 61 63 6b 20 69 6e 74 6f | 20 72 65 74 75 72 6e 56 |ack into| returnV|
|00003330| 61 6c 75 65 0d 70 75 74 | 20 74 68 65 20 73 68 6f |alue.put| the sho|
|00003340| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00003350| 73 74 61 63 6b 20 69 6e | 74 6f 20 6f 6c 64 53 68 |stack in|to oldSh|
|00003360| 6f 72 74 4e 61 6d 65 0d | 0d 64 6f 4d 65 6e 75 20 |ortName.|.doMenu |
|00003370| 22 53 74 61 63 6b 20 49 | 6e 66 6f 2e 2e 2e 22 0d |"Stack I|nfo...".|
|00003380| 0d 67 6f 42 61 63 6b 0d | 64 6f 4d 65 6e 75 20 22 |.goBack.|doMenu "|
|00003390| 42 61 63 6b 22 0d 0d 69 | 66 20 6f 6c 64 53 68 6f |Back"..i|f oldSho|
|000033a0| 72 74 4e 61 6d 65 20 3d | 20 6f 62 6a 65 63 74 4e |rtName =| objectN|
|000033b0| 61 6d 65 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |ame then|.put the|
|000033c0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|000033d0| 68 69 73 20 73 74 61 63 | 6b 20 69 6e 74 6f 20 6e |his stac|k into n|
|000033e0| 65 77 4e 61 6d 65 0d 65 | 6c 73 65 0d 70 75 74 20 |ewName.e|lse.put |
|000033f0| 74 68 65 20 73 65 63 6f | 6e 64 20 77 6f 72 64 20 |the seco|nd word |
|00003400| 6f 66 20 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |of the l|ong name|
|00003410| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 20 | of this| stack |
|00003420| 20 69 6e 74 6f 20 6e 65 | 77 4e 61 6d 65 0d 70 75 | into ne|wName.pu|
|00003430| 74 20 63 68 61 72 20 32 | 20 74 6f 20 28 28 74 68 |t char 2| to ((th|
|00003440| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 6e 65 77 4e |e length| of newN|
|00003450| 61 6d 65 29 2d 31 29 20 | 6f 66 20 6e 65 77 4e 61 |ame)-1) |of newNa|
|00003460| 6d 65 20 69 6e 74 6f 20 | 6e 65 77 4e 61 6d 65 0d |me into |newName.|
|00003470| 65 6e 64 20 69 66 0d 0d | 67 6f 42 61 63 6b 0d 0d |end if..|goBack..|
|00003480| 69 66 20 6e 65 77 4e 61 | 6d 65 20 3c 3e 20 6f 62 |if newNa|me <> ob|
|00003490| 6a 65 63 74 4e 61 6d 65 | 20 74 68 65 6e 0d 70 75 |jectName| then.pu|
|000034a0| 74 20 69 6e 64 65 6e 74 | 53 74 72 69 6e 67 28 6e |t indent|String(n|
|000034b0| 65 77 4e 61 6d 65 2c 20 | 66 69 6e 64 4c 65 76 65 |ewName, |findLeve|
|000034c0| 6c 28 6c 69 6e 65 4e 75 | 6d 62 65 72 29 29 20 69 |l(lineNu|mber)) i|
|000034d0| 6e 74 6f 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d |nto line| lineNum|
|000034e0| 62 65 72 20 6f 66 20 66 | 69 65 6c 64 20 22 44 61 |ber of f|ield "Da|
|000034f0| 74 61 20 54 72 65 65 22 | 0d 65 6e 64 20 69 66 0d |ta Tree"|.end if.|
|00003500| 65 6e 64 20 64 6f 53 63 | 72 69 70 74 00 00 01 9a |end doSc|ript....|
|00003510| 00 1a 02 15 00 3a 00 00 | 00 49 00 94 00 02 00 00 |.....:..|.I......|
|00003520| 00 00 00 00 00 04 00 09 | 00 00 00 0c 65 64 69 74 |........|....edit|
|00003530| 50 6c 61 6e 65 49 6e 66 | 6f 00 00 6f 6e 20 64 6f |PlaneInf|o..on do|
|00003540| 53 63 72 69 70 74 0d 64 | 6f 20 22 70 75 74 20 74 |Script.d|o "put t|
|00003550| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 74 68 69 |he scrip|t of thi|
|00003560| 73 22 20 26 26 20 70 6c | 61 6e 65 54 79 70 65 20 |s" && pl|aneType |
|00003570| 26 26 20 22 69 6e 74 6f | 20 72 65 74 75 72 6e 56 |&& "into| returnV|
|00003580| 61 6c 75 65 22 0d 0d 64 | 6f 20 22 64 6f 4d 65 6e |alue"..d|o "doMen|
|00003590| 75 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 70 6c |u" && qu|ote & pl|
|000035a0| 61 6e 65 54 79 70 65 20 | 26 26 20 22 49 6e 66 6f |aneType |&& "Info|
|000035b0| 2e 2e 2e 22 20 26 20 71 | 75 6f 74 65 0d 0d 67 6f |..." & q|uote..go|
|000035c0| 42 61 63 6b 0d 64 6f 4d | 65 6e 75 20 22 42 61 63 |Back.doM|enu "Bac|
|000035d0| 6b 22 0d 64 6f 20 22 70 | 75 74 20 74 68 65 20 73 |k".do "p|ut the s|
|000035e0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000035f0| 73 22 20 26 26 20 70 6c | 61 6e 65 54 79 70 65 20 |s" && pl|aneType |
|00003600| 26 26 20 22 69 6e 74 6f | 20 6e 65 77 4e 61 6d 65 |&& "into| newName|
|00003610| 22 0d 67 6f 42 61 63 6b | 0d 0d 69 66 20 6e 65 77 |".goBack|..if new|
|00003620| 4e 61 6d 65 20 3c 3e 20 | 6f 62 6a 65 63 74 4e 61 |Name <> |objectNa|
|00003630| 6d 65 20 74 68 65 6e 0d | 70 75 74 20 69 6e 64 65 |me then.|put inde|
|00003640| 6e 74 53 74 72 69 6e 67 | 28 6e 65 77 4e 61 6d 65 |ntString|(newName|
|00003650| 2c 20 66 69 6e 64 4c 65 | 76 65 6c 28 6c 69 6e 65 |, findLe|vel(line|
|00003660| 4e 75 6d 62 65 72 29 29 | 20 69 6e 74 6f 20 6c 69 |Number))| into li|
|00003670| 6e 65 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 6f 66 |ne lineN|umber of|
|00003680| 20 66 69 65 6c 64 20 22 | 44 61 74 61 20 54 72 65 | field "|Data Tre|
|00003690| 65 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 6f |e".end i|f.end do|
|000036a0| 53 63 72 69 70 74 00 00 | 03 54 00 1b 02 15 00 48 |Script..|.T.....H|
|000036b0| 00 00 00 57 00 94 00 02 | 00 00 00 00 00 00 00 04 |...W....|........|
|000036c0| 00 09 00 00 00 0c 65 64 | 69 74 43 6f 6e 74 61 69 |......ed|itContai|
|000036d0| 6e 65 72 49 6e 66 6f 00 | 00 6f 6e 20 64 6f 53 63 |nerInfo.|.on doSc|
|000036e0| 72 69 70 74 0d 64 6f 20 | 22 70 75 74 20 74 68 65 |ript.do |"put the|
|000036f0| 20 73 63 72 69 70 74 20 | 20 6f 66 22 20 26 26 20 | script | of" && |
|00003700| 70 6c 61 6e 65 54 79 70 | 65 20 26 26 20 63 6f 6e |planeTyp|e && con|
|00003710| 74 61 69 6e 65 72 54 79 | 70 65 20 26 26 20 22 69 |tainerTy|pe && "i|
|00003720| 64 22 20 26 26 20 6f 62 | 6a 65 63 74 49 44 20 26 |d" && ob|jectID &|
|00003730| 26 20 22 69 6e 74 6f 20 | 72 65 74 75 72 6e 56 61 |& "into |returnVa|
|00003740| 6c 75 65 22 0d 64 6f 20 | 22 70 75 74 20 74 68 65 |lue".do |"put the|
|00003750| 20 76 69 73 69 62 6c 65 | 20 6f 66 22 20 26 26 20 | visible| of" && |
|00003760| 70 6c 61 6e 65 54 79 70 | 65 20 26 26 20 63 6f 6e |planeTyp|e && con|
|00003770| 74 61 69 6e 65 72 54 79 | 70 65 20 26 26 20 22 69 |tainerTy|pe && "i|
|00003780| 64 22 20 26 26 20 6f 62 | 6a 65 63 74 49 44 20 26 |d" && ob|jectID &|
|00003790| 26 20 22 69 6e 74 6f 20 | 6f 62 6a 65 63 74 56 69 |& "into |objectVi|
|000037a0| 73 69 62 6c 65 22 0d 0d | 69 66 20 6e 6f 74 20 6f |sible"..|if not o|
|000037b0| 62 6a 65 63 74 56 69 73 | 69 62 6c 65 20 74 68 65 |bjectVis|ible the|
|000037c0| 6e 0d 64 6f 20 22 73 68 | 6f 77 22 20 26 26 20 70 |n.do "sh|ow" && p|
|000037d0| 6c 61 6e 65 54 79 70 65 | 20 26 26 20 63 6f 6e 74 |laneType| && cont|
|000037e0| 61 69 6e 65 72 54 79 70 | 65 20 26 26 20 22 69 64 |ainerTyp|e && "id|
|000037f0| 22 20 26 26 20 6f 62 6a | 65 63 74 49 44 0d 65 6e |" && obj|ectID.en|
|00003800| 64 20 69 66 0d 0d 64 6f | 20 22 73 65 6c 65 63 74 |d if..do| "select|
|00003810| 22 20 26 26 20 70 6c 61 | 6e 65 54 79 70 65 20 26 |" && pla|neType &|
|00003820| 26 20 63 6f 6e 74 61 69 | 6e 65 72 54 79 70 65 20 |& contai|nerType |
|00003830| 26 26 20 22 69 64 22 20 | 26 26 20 6f 62 6a 65 63 |&& "id" |&& objec|
|00003840| 74 49 44 0d 64 6f 20 22 | 64 6f 4d 65 6e 75 22 20 |tID.do "|doMenu" |
|00003850| 26 26 20 71 75 6f 74 65 | 20 26 20 63 6f 6e 74 61 |&& quote| & conta|
|00003860| 69 6e 65 72 54 79 70 65 | 20 26 26 20 22 49 6e 66 |inerType| && "Inf|
|00003870| 6f 2e 2e 2e 22 20 26 20 | 71 75 6f 74 65 0d 63 68 |o..." & |quote.ch|
|00003880| 6f 6f 73 65 20 62 72 6f | 77 73 65 20 74 6f 6f 6c |oose bro|wse tool|
|00003890| 0d 0d 67 6f 42 61 63 6b | 0d 64 6f 4d 65 6e 75 20 |..goBack|.doMenu |
|000038a0| 22 42 61 63 6b 22 0d 0d | 64 6f 20 22 70 75 74 20 |"Back"..|do "put |
|000038b0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000038c0| 66 22 20 26 26 20 70 6c | 61 6e 65 54 79 70 65 20 |f" && pl|aneType |
|000038d0| 26 26 20 63 6f 6e 74 61 | 69 6e 65 72 54 79 70 65 |&& conta|inerType|
|000038e0| 20 26 26 20 22 69 64 22 | 20 26 26 20 6f 62 6a 65 | && "id"| && obje|
|000038f0| 63 74 49 44 20 26 26 20 | 22 69 6e 74 6f 20 6e 65 |ctID && |"into ne|
|00003900| 77 4e 61 6d 65 22 0d 0d | 69 66 20 6e 6f 74 20 6f |wName"..|if not o|
|00003910| 62 6a 65 63 74 56 69 73 | 69 62 6c 65 20 74 68 65 |bjectVis|ible the|
|00003920| 6e 0d 64 6f 20 22 68 69 | 64 65 22 20 26 26 20 70 |n.do "hi|de" && p|
|00003930| 6c 61 6e 65 54 79 70 65 | 20 26 26 20 63 6f 6e 74 |laneType| && cont|
|00003940| 61 69 6e 65 72 54 79 70 | 65 20 26 26 20 22 69 64 |ainerTyp|e && "id|
|00003950| 22 20 26 26 20 6f 62 6a | 65 63 74 49 44 0d 65 6e |" && obj|ectID.en|
|00003960| 64 20 69 66 0d 0d 67 6f | 42 61 63 6b 0d 0d 69 66 |d if..go|Back..if|
|00003970| 20 6e 65 77 4e 61 6d 65 | 20 3c 3e 20 6f 62 6a 65 | newName| <> obje|
|00003980| 63 74 4e 61 6d 65 20 74 | 68 65 6e 0d 70 75 74 20 |ctName t|hen.put |
|00003990| 69 6e 64 65 6e 74 53 74 | 72 69 6e 67 28 6e 65 77 |indentSt|ring(new|
|000039a0| 4e 61 6d 65 2c 20 66 69 | 6e 64 4c 65 76 65 6c 28 |Name, fi|ndLevel(|
|000039b0| 6c 69 6e 65 4e 75 6d 62 | 65 72 29 29 20 69 6e 74 |lineNumb|er)) int|
|000039c0| 6f 20 6c 69 6e 65 20 6c | 69 6e 65 4e 75 6d 62 65 |o line l|ineNumbe|
|000039d0| 72 20 6f 66 20 66 69 65 | 6c 64 20 22 44 61 74 61 |r of fie|ld "Data|
|000039e0| 20 54 72 65 65 22 0d 65 | 6e 64 20 69 66 0d 65 6e | Tree".e|nd if.en|
|000039f0| 64 20 64 6f 53 63 72 69 | 70 74 00 00 00 ca 00 1c |d doScri|pt......|
|00003a00| 02 15 00 58 00 00 00 67 | 00 94 00 02 00 00 00 00 |...X...g|........|
|00003a10| 00 00 00 04 00 09 00 00 | 00 0c 66 69 6e 64 53 74 |........|..findSt|
|00003a20| 61 63 6b 53 63 72 69 70 | 74 00 00 6f 6e 20 64 6f |ackScrip|t..on do|
|00003a30| 53 63 72 69 70 74 0d 2d | 2d 20 70 75 74 20 22 52 |Script.-|- put "R|
|00003a40| 65 74 72 69 65 76 69 6e | 67 20 74 68 65 20 73 63 |etrievin|g the sc|
|00003a50| 72 69 70 74 20 6f 66 20 | 73 74 61 63 6b 22 20 26 |ript of |stack" &|
|00003a60| 26 20 71 75 6f 74 65 20 | 26 20 6f 62 6a 65 63 74 |& quote |& object|
|00003a70| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 0d 70 75 74 |Name & q|uote.put|
|00003a80| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 73 | the scr|ipt of s|
|00003a90| 74 61 63 6b 20 6f 62 6a | 65 63 74 4e 61 6d 65 20 |tack obj|ectName |
|00003aa0| 69 6e 74 6f 20 72 65 74 | 75 72 6e 56 61 6c 75 65 |into ret|urnValue|
|00003ab0| 0d 0d 67 6f 42 61 63 6b | 0d 65 6e 64 20 64 6f 53 |..goBack|.end doS|
|00003ac0| 63 72 69 70 74 00 00 dc | 00 1d 02 15 00 66 00 00 |cript...|.....f..|
|00003ad0| 00 75 00 94 00 02 00 00 | 00 00 00 00 00 04 00 09 |.u......|........|
|00003ae0| 00 00 00 0c 66 69 6e 64 | 50 6c 61 6e 65 53 63 72 |....find|PlaneScr|
|00003af0| 69 70 74 00 00 6f 6e 20 | 64 6f 53 63 72 69 70 74 |ipt..on |doScript|
|00003b00| 0d 2d 2d 20 70 75 74 20 | 22 52 65 74 72 69 65 76 |.-- put |"Retriev|
|00003b10| 69 6e 67 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |ing the |script o|
|00003b20| 66 22 20 26 26 20 70 6c | 61 6e 65 54 79 70 65 20 |f" && pl|aneType |
|00003b30| 26 26 20 71 75 6f 74 65 | 20 26 20 6f 62 6a 65 63 |&& quote| & objec|
|00003b40| 74 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 0d 64 6f |tName & |quote.do|
|00003b50| 20 22 70 75 74 20 74 68 | 65 20 73 63 72 69 70 74 | "put th|e script|
|00003b60| 20 6f 66 20 74 68 69 73 | 22 20 26 26 20 70 6c 61 | of this|" && pla|
|00003b70| 6e 65 54 79 70 65 20 26 | 26 20 22 69 6e 74 6f 20 |neType &|& "into |
|00003b80| 72 65 74 75 72 6e 56 61 | 6c 75 65 22 0d 0d 67 6f |returnVa|lue"..go|
|00003b90| 42 61 63 6b 0d 65 6e 64 | 20 64 6f 53 63 72 69 70 |Back.end| doScrip|
|00003ba0| 74 00 01 12 00 1e 02 15 | 00 74 00 00 00 83 00 94 |t.......|.t......|
|00003bb0| 00 02 00 00 00 00 00 00 | 00 04 00 09 00 00 00 0c |........|........|
|00003bc0| 66 69 6e 64 43 6f 6e 74 | 61 69 6e 65 72 53 63 72 |findCont|ainerScr|
|00003bd0| 69 70 74 00 00 6f 6e 20 | 64 6f 53 63 72 69 70 74 |ipt..on |doScript|
|00003be0| 0d 2d 2d 20 70 75 74 20 | 22 52 65 74 72 69 65 76 |.-- put |"Retriev|
|00003bf0| 69 6e 67 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |ing the |script o|
|00003c00| 66 22 20 26 26 20 70 6c | 61 6e 65 54 79 70 65 20 |f" && pl|aneType |
|00003c10| 26 26 20 63 6f 6e 74 61 | 69 6e 65 72 54 79 70 65 |&& conta|inerType|
|00003c20| 20 26 26 20 71 75 6f 74 | 65 20 26 20 6f 62 6a 65 | && quot|e & obje|
|00003c30| 63 74 4e 61 6d 65 20 26 | 20 71 75 6f 74 65 0d 64 |ctName &| quote.d|
|00003c40| 6f 20 22 70 75 74 20 74 | 68 65 20 73 63 72 69 70 |o "put t|he scrip|
|00003c50| 74 20 6f 66 22 20 26 26 | 20 70 6c 61 6e 65 54 79 |t of" &&| planeTy|
|00003c60| 70 65 20 26 26 20 63 6f | 6e 74 61 69 6e 65 72 54 |pe && co|ntainerT|
|00003c70| 79 70 65 20 26 26 20 22 | 69 64 22 20 26 26 20 6f |ype && "|id" && o|
|00003c80| 62 6a 65 63 74 49 44 20 | 26 26 20 22 69 6e 74 6f |bjectID |&& "into|
|00003c90| 20 72 65 74 75 72 6e 56 | 61 6c 75 65 22 0d 0d 67 | returnV|alue"..g|
|00003ca0| 6f 42 61 63 6b 0d 65 6e | 64 20 64 6f 53 63 72 69 |oBack.en|d doScri|
|00003cb0| 70 74 00 00 01 36 00 22 | 02 15 00 84 00 00 00 93 |pt...6."|........|
|00003cc0| 00 94 00 02 00 00 00 00 | 00 00 00 04 00 09 00 00 |........|........|
|00003cd0| 00 0c 65 64 69 74 53 74 | 61 63 6b 53 63 72 69 70 |..editSt|ackScrip|
|00003ce0| 74 00 00 6f 6e 20 64 6f | 53 63 72 69 70 74 0d 70 |t..on do|Script.p|
|00003cf0| 75 74 20 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |ut the |script o|
|00003d00| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00003d10| 6f 20 6f 6c 64 53 63 72 | 69 70 74 0d 65 64 69 74 |o oldScr|ipt.edit|
|00003d20| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 74 | the scr|ipt of t|
|00003d30| 68 69 73 20 73 74 61 63 | 6b 0d 70 75 74 20 20 74 |his stac|k.put t|
|00003d40| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 74 68 69 |he scrip|t of thi|
|00003d50| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 6e 65 77 |s stack |into new|
|00003d60| 53 63 72 69 70 74 0d 0d | 67 6f 42 61 63 6b 0d 0d |Script..|goBack..|
|00003d70| 69 66 20 6e 65 77 53 63 | 72 69 70 74 20 3c 3e 20 |if newSc|ript <> |
|00003d80| 6f 6c 64 53 63 72 69 70 | 74 20 74 68 65 6e 0d 70 |oldScrip|t then.p|
|00003d90| 75 74 20 6e 65 77 53 63 | 72 69 70 74 20 20 20 69 |ut newSc|ript i|
|00003da0| 6e 74 6f 20 72 65 74 75 | 72 6e 56 61 6c 75 65 0d |nto retu|rnValue.|
|00003db0| 65 6c 73 65 0d 70 75 74 | 20 22 6e 6f 20 63 68 61 |else.put| "no cha|
|00003dc0| 6e 67 65 22 20 69 6e 74 | 6f 20 72 65 74 75 72 6e |nge" int|o return|
|00003dd0| 56 61 6c 75 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Value.en|d if.end|
|00003de0| 20 64 6f 53 63 72 69 70 | 74 00 01 62 00 23 02 15 | doScrip|t..b.#..|
|00003df0| 00 92 00 00 00 a1 00 94 | 00 02 00 00 00 00 00 00 |........|........|
|00003e00| 00 04 00 09 00 00 00 0c | 65 64 69 74 50 6c 61 6e |........|editPlan|
|00003e10| 65 53 63 72 69 70 74 00 | 00 6f 6e 20 64 6f 53 63 |eScript.|.on doSc|
|00003e20| 72 69 70 74 0d 64 6f 20 | 22 70 75 74 20 74 68 65 |ript.do |"put the|
|00003e30| 20 73 63 72 69 70 74 20 | 6f 66 20 74 68 69 73 22 | script |of this"|
|00003e40| 20 26 26 20 70 6c 61 6e | 65 54 79 70 65 20 26 26 | && plan|eType &&|
|00003e50| 20 22 69 6e 74 6f 20 6f | 6c 64 53 63 72 69 70 74 | "into o|ldScript|
|00003e60| 22 0d 64 6f 20 22 65 64 | 69 74 20 20 20 20 73 63 |".do "ed|it sc|
|00003e70| 72 69 70 74 20 6f 66 20 | 74 68 69 73 22 20 26 26 |ript of |this" &&|
|00003e80| 20 70 6c 61 6e 65 54 79 | 70 65 0d 64 6f 20 22 70 | planeTy|pe.do "p|
|00003e90| 75 74 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |ut the s|cript of|
|00003ea0| 20 74 68 69 73 22 20 26 | 26 20 70 6c 61 6e 65 54 | this" &|& planeT|
|00003eb0| 79 70 65 20 26 26 20 22 | 69 6e 74 6f 20 6e 65 77 |ype && "|into new|
|00003ec0| 53 63 72 69 70 74 22 0d | 0d 67 6f 42 61 63 6b 0d |Script".|.goBack.|
|00003ed0| 0d 69 66 20 6e 65 77 53 | 63 72 69 70 74 20 3c 3e |.if newS|cript <>|
|00003ee0| 20 6f 6c 64 53 63 72 69 | 70 74 20 74 68 65 6e 0d | oldScri|pt then.|
|00003ef0| 70 75 74 20 6e 65 77 53 | 63 72 69 70 74 20 20 20 |put newS|cript |
|00003f00| 69 6e 74 6f 20 72 65 74 | 75 72 6e 56 61 6c 75 65 |into ret|urnValue|
|00003f10| 0d 65 6c 73 65 0d 70 75 | 74 20 22 6e 6f 20 63 68 |.else.pu|t "no ch|
|00003f20| 61 6e 67 65 22 20 69 6e | 74 6f 20 72 65 74 75 72 |ange" in|to retur|
|00003f30| 6e 56 61 6c 75 65 0d 65 | 6e 64 20 69 66 0d 65 6e |nValue.e|nd if.en|
|00003f40| 64 20 64 6f 53 63 72 69 | 70 74 00 00 01 c6 00 24 |d doScri|pt.....$|
|00003f50| 02 15 00 a0 00 00 00 af | 00 94 00 02 00 00 00 00 |........|........|
|00003f60| 00 00 00 04 00 09 00 00 | 00 0c 65 64 69 74 43 6f |........|..editCo|
|00003f70| 6e 74 61 69 6e 65 72 53 | 63 72 69 70 74 00 00 6f |ntainerS|cript..o|
|00003f80| 6e 20 64 6f 53 63 72 69 | 70 74 0d 64 6f 20 22 70 |n doScri|pt.do "p|
|00003f90| 75 74 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |ut the s|cript of|
|00003fa0| 22 20 26 26 20 70 6c 61 | 6e 65 54 79 70 65 20 26 |" && pla|neType &|
|00003fb0| 26 20 63 6f 6e 74 61 69 | 6e 65 72 54 79 70 65 20 |& contai|nerType |
|00003fc0| 26 26 20 22 69 64 22 20 | 26 26 20 6f 62 6a 65 63 |&& "id" |&& objec|
|00003fd0| 74 49 44 20 26 26 20 22 | 69 6e 74 6f 20 6f 6c 64 |tID && "|into old|
|00003fe0| 53 63 72 69 70 74 22 0d | 64 6f 20 22 65 64 69 74 |Script".|do "edit|
|00003ff0| 20 20 20 20 73 63 72 69 | 70 74 20 6f 66 22 20 26 | scri|pt of" &|
|00004000| 26 20 70 6c 61 6e 65 54 | 79 70 65 20 26 26 20 63 |& planeT|ype && c|
|00004010| 6f 6e 74 61 69 6e 65 72 | 54 79 70 65 20 26 26 20 |ontainer|Type && |
|00004020| 22 69 64 22 20 26 26 20 | 6f 62 6a 65 63 74 49 44 |"id" && |objectID|
|00004030| 0d 64 6f 20 22 70 75 74 | 20 74 68 65 20 73 63 72 |.do "put| the scr|
|00004040| 69 70 74 20 6f 66 22 20 | 26 26 20 70 6c 61 6e 65 |ipt of" |&& plane|
|00004050| 54 79 70 65 20 26 26 20 | 63 6f 6e 74 61 69 6e 65 |Type && |containe|
|00004060| 72 54 79 70 65 20 26 26 | 20 22 69 64 22 20 26 26 |rType &&| "id" &&|
|00004070| 20 6f 62 6a 65 63 74 49 | 44 20 26 26 20 22 69 6e | objectI|D && "in|
|00004080| 74 6f 20 6e 65 77 53 63 | 72 69 70 74 22 0d 0d 67 |to newSc|ript"..g|
|00004090| 6f 42 61 63 6b 0d 0d 69 | 66 20 6e 65 77 53 63 72 |oBack..i|f newScr|
|000040a0| 69 70 74 20 3c 3e 20 6f | 6c 64 53 63 72 69 70 74 |ipt <> o|ldScript|
|000040b0| 20 74 68 65 6e 0d 70 75 | 74 20 6e 65 77 53 63 72 | then.pu|t newScr|
|000040c0| 69 70 74 20 20 20 69 6e | 74 6f 20 72 65 74 75 72 |ipt in|to retur|
|000040d0| 6e 56 61 6c 75 65 0d 65 | 6c 73 65 0d 70 75 74 20 |nValue.e|lse.put |
|000040e0| 22 6e 6f 20 63 68 61 6e | 67 65 22 20 69 6e 74 6f |"no chan|ge" into|
|000040f0| 20 72 65 74 75 72 6e 56 | 61 6c 75 65 0d 65 6e 64 | returnV|alue.end|
|00004100| 20 69 66 0d 65 6e 64 20 | 64 6f 53 63 72 69 70 74 | if.end |doScript|
|00004110| 00 00 09 ac 00 04 02 21 | 00 00 00 00 00 e2 01 a0 |.......!|........|
|00004120| 20 07 00 00 00 00 00 00 | 00 04 00 09 00 00 00 0c | .......|........|
|00004130| 44 61 74 61 20 54 72 65 | 65 00 00 2d 2d 20 43 6f |Data Tre|e..-- Co|
|00004140| 70 79 72 69 67 68 74 20 | 31 39 39 32 2c 20 4d 69 |pyright |1992, Mi|
|00004150| 74 63 68 65 6c 6c 20 53 | 65 77 61 72 64 2c 20 53 |tchell S|eward, S|
|00004160| 68 6f 65 53 74 72 69 6e | 67 20 26 20 42 6f 78 57 |hoeStrin|g & BoxW|
|00004170| 6f 6f 64 20 53 6f 66 74 | 77 61 72 65 2c 20 41 6c |ood Soft|ware, Al|
|00004180| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00004190| 64 0d 0d 2d 2d 20 54 68 | 65 20 68 61 6e 64 6c 65 |d..-- Th|e handle|
|000041a0| 72 73 20 69 6e 20 74 68 | 65 20 44 61 74 61 20 54 |rs in th|e Data T|
|000041b0| 72 65 65 20 66 69 65 6c | 64 27 73 20 73 63 72 69 |ree fiel|d's scri|
|000041c0| 70 74 20 72 65 61 63 74 | 20 74 6f 20 6d 6f 75 73 |pt react| to mous|
|000041d0| 65 20 6d 65 73 73 61 67 | 65 73 3a 0d 0d 2d 2d 20 |e messag|es:..-- |
|000041e0| 20 20 20 6f 6e 20 6d 6f | 75 73 65 55 70 3a 20 20 | on mo|useUp: |
|000041f0| 20 20 20 43 68 65 63 6b | 20 77 68 65 72 65 20 74 | Check| where t|
|00004200| 68 65 20 6d 6f 75 73 65 | 20 77 61 73 20 63 6c 69 |he mouse| was cli|
|00004210| 63 6b 65 64 20 61 6e 64 | 20 72 65 61 63 74 20 69 |cked and| react i|
|00004220| 66 20 69 74 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |f it.-- | |
|00004230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 77 61 73 | | was|
|00004240| 20 63 6c 69 63 6b 65 64 | 20 6f 6e 20 61 20 68 6f | clicked| on a ho|
|00004250| 74 20 6c 69 6e 65 20 6f | 66 20 74 65 78 74 2e 0d |t line o|f text..|
|00004260| 0d 2d 2d 20 20 20 20 6f | 6e 20 6d 6f 75 73 65 57 |.-- o|n mouseW|
|00004270| 69 74 68 69 6e 3a 20 45 | 73 74 69 6d 61 74 65 20 |ithin: E|stimate |
|00004280| 77 68 69 63 68 20 6c 69 | 6e 65 20 6f 66 20 74 68 |which li|ne of th|
|00004290| 65 20 44 61 74 61 20 54 | 72 65 65 20 74 68 65 20 |e Data T|ree the |
|000042a0| 6d 6f 75 73 65 0d 2d 2d | 20 20 20 20 20 20 20 20 |mouse.--| |
|000042b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 73 | | is|
|000042c0| 20 63 75 72 72 65 6e 74 | 6c 79 20 6f 76 65 72 20 | current|ly over |
|000042d0| 61 6e 64 20 68 69 6c 69 | 67 68 74 20 74 68 61 74 |and hili|ght that|
|000042e0| 20 6c 69 6e 65 0d 2d 2d | 20 20 20 20 20 20 20 20 | line.--| |
|000042f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 79 | | by|
|00004300| 20 73 65 6c 65 63 74 69 | 6e 67 20 69 74 2e 0d 0d | selecti|ng it...|
|00004310| 2d 2d 20 20 20 20 6f 6e | 20 6d 6f 75 73 65 4c 65 |-- on| mouseLe|
|00004320| 61 76 65 3a 20 20 52 65 | 6d 6f 76 65 20 61 6e 79 |ave: Re|move any|
|00004330| 20 61 63 74 69 76 65 20 | 68 69 6c 69 67 68 74 20 | active |hilight |
|00004340| 77 68 65 6e 20 74 68 65 | 20 6d 6f 75 73 65 20 6c |when the| mouse l|
|00004350| 65 61 76 65 73 0d 2d 2d | 20 20 20 20 20 20 20 20 |eaves.--| |
|00004360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00004370| 65 20 44 61 74 61 20 54 | 72 65 65 20 66 69 65 6c |e Data T|ree fiel|
|00004380| 64 2e 0d 0d 6f 6e 20 6d | 6f 75 73 65 55 70 0d 2d |d...on m|ouseUp.-|
|00004390| 2d 20 73 74 6f 70 20 65 | 78 74 72 61 6e 65 6f 75 |- stop e|xtraneou|
|000043a0| 73 20 6d 65 73 73 61 67 | 65 73 20 62 65 69 6e 67 |s messag|es being|
|000043b0| 20 73 65 6e 74 20 74 6f | 20 74 68 65 20 74 61 72 | sent to| the tar|
|000043c0| 67 65 74 20 73 74 61 63 | 6b 0d 73 65 74 20 6c 6f |get stac|k.set lo|
|000043d0| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|000043e0| 75 65 0d 0d 2d 2d 20 65 | 76 61 6c 75 61 74 65 20 |ue..-- e|valuate |
|000043f0| 74 68 65 20 63 6c 69 63 | 6b 65 64 20 6c 69 6e 65 |the clic|ked line|
|00004400| 0d 63 68 65 63 6b 43 6c | 69 63 6b 20 69 67 6e 6f |.checkCl|ick igno|
|00004410| 72 65 42 6c 61 6e 6b 4c | 69 6e 65 73 28 77 6f 72 |reBlankL|ines(wor|
|00004420| 64 20 32 20 6f 66 20 74 | 68 65 20 63 6c 69 63 6b |d 2 of t|he click|
|00004430| 4c 69 6e 65 29 0d 65 6e | 64 20 6d 6f 75 73 65 55 |Line).en|d mouseU|
|00004440| 70 0d 0d 6f 6e 20 6d 6f | 75 73 65 57 69 74 68 69 |p..on mo|useWithi|
|00004450| 6e 0d 2d 2d 20 65 73 74 | 69 6d 61 74 65 20 74 68 |n.-- est|imate th|
|00004460| 65 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |e positi|on of th|
|00004470| 65 20 6d 6f 75 73 65 20 | 61 6e 64 20 6c 61 73 74 |e mouse |and last|
|00004480| 20 76 69 73 69 62 6c 65 | 20 6c 69 6e 65 0d 70 75 | visible| line.pu|
|00004490| 74 20 74 68 65 20 6d 6f | 75 73 65 56 20 20 20 20 |t the mo|useV |
|000044a0| 20 20 20 20 20 20 20 20 | 20 20 20 2d 20 74 68 65 | | - the|
|000044b0| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 74 61 72 67 | top of |the targ|
|000044c0| 65 74 20 69 6e 74 6f 20 | 6d 6f 75 73 65 4f 66 66 |et into |mouseOff|
|000044d0| 73 65 74 0d 70 75 74 20 | 74 68 65 20 62 6f 74 74 |set.put |the bott|
|000044e0| 6f 6d 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |om of th|e target|
|000044f0| 20 2d 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 | - the t|op of th|
|00004500| 65 20 74 61 72 67 65 74 | 20 69 6e 74 6f 20 20 6c |e target| into l|
|00004510| 61 73 74 4f 66 66 73 65 | 74 0d 0d 2d 2d 20 61 64 |astOffse|t..-- ad|
|00004520| 6a 75 73 74 20 70 6f 73 | 69 74 69 6f 6e 73 20 66 |just pos|itions f|
|00004530| 6f 72 20 61 20 73 63 72 | 6f 6c 6c 69 6e 67 20 44 |or a scr|olling D|
|00004540| 61 74 61 20 54 72 65 65 | 0d 69 66 20 74 68 65 20 |ata Tree|.if the |
|00004550| 73 74 79 6c 65 20 6f 66 | 20 74 68 65 20 74 61 72 |style of| the tar|
|00004560| 67 65 74 20 69 73 20 73 | 63 72 6f 6c 6c 69 6e 67 |get is s|crolling|
|00004570| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 72 69 67 | then.if| the rig|
|00004580| 68 74 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ht of th|e target|
|00004590| 20 2d 20 74 68 65 20 6d | 6f 75 73 65 48 20 3c 3d | - the m|ouseH <=|
|000045a0| 20 31 37 20 74 68 65 6e | 0d 2d 2d 20 64 6f 6e 27 | 17 then|.-- don'|
|000045b0| 74 20 68 69 6c 69 67 68 | 74 20 61 20 6c 69 6e 65 |t hiligh|t a line|
|000045c0| 20 77 68 65 6e 20 69 6e | 20 74 68 65 20 73 63 72 | when in| the scr|
|000045d0| 6f 6c 6c 20 62 61 72 0d | 73 65 6c 65 63 74 20 65 |oll bar.|select e|
|000045e0| 6d 70 74 79 0d 0d 65 78 | 69 74 20 6d 6f 75 73 65 |mpty..ex|it mouse|
|000045f0| 57 69 74 68 69 6e 0d 65 | 6c 73 65 0d 2d 2d 20 73 |Within.e|lse.-- s|
|00004600| 68 69 66 74 20 74 68 65 | 20 6f 66 66 73 65 74 73 |hift the| offsets|
|00004610| 20 62 79 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 6f | by the |scroll o|
|00004620| 66 20 74 68 65 20 44 61 | 74 61 20 54 72 65 65 20 |f the Da|ta Tree |
|00004630| 66 69 65 6c 64 0d 70 75 | 74 20 6d 6f 75 73 65 4f |field.pu|t mouseO|
|00004640| 66 66 73 65 74 20 2b 20 | 74 68 65 20 73 63 72 6f |ffset + |the scro|
|00004650| 6c 6c 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ll of th|e target|
|00004660| 20 69 6e 74 6f 20 6d 6f | 75 73 65 4f 66 66 73 65 | into mo|useOffse|
|00004670| 74 0d 70 75 74 20 20 6c | 61 73 74 4f 66 66 73 65 |t.put l|astOffse|
|00004680| 74 20 2b 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 6f |t + the |scroll o|
|00004690| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 69 6e 74 |f the ta|rget int|
|000046a0| 6f 20 20 6c 61 73 74 4f | 66 66 73 65 74 0d 65 6e |o lastO|ffset.en|
|000046b0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |d if.end| if..-- |
|000046c0| 63 6f 6e 76 65 72 74 20 | 70 6f 73 69 74 69 6f 6e |convert |position|
|000046d0| 73 20 74 6f 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 |s to lin|e number|
|000046e0| 73 0d 70 75 74 20 31 20 | 2b 20 28 74 68 65 20 74 |s.put 1 |+ (the t|
|000046f0| 72 75 6e 63 20 6f 66 20 | 28 28 6d 6f 75 73 65 4f |runc of |((mouseO|
|00004700| 66 66 73 65 74 2d 35 29 | 2f 31 32 29 29 20 69 6e |ffset-5)|/12)) in|
|00004710| 74 6f 20 6c 69 6e 65 4e | 75 6d 62 65 72 0d 70 75 |to lineN|umber.pu|
|00004720| 74 20 31 20 2b 20 28 74 | 68 65 20 74 72 75 6e 63 |t 1 + (t|he trunc|
|00004730| 20 6f 66 20 28 28 20 6c | 61 73 74 4f 66 66 73 65 | of (( l|astOffse|
|00004740| 74 2d 35 29 2f 31 32 29 | 29 20 69 6e 74 6f 20 6c |t-5)/12)|) into l|
|00004750| 61 73 74 4c 69 6e 65 0d | 0d 2d 2d 20 73 65 6c 65 |astLine.|.-- sele|
|00004760| 63 74 20 74 68 65 20 6c | 69 6e 65 20 74 68 65 20 |ct the l|ine the |
|00004770| 6d 6f 75 73 65 20 69 73 | 20 6f 76 65 72 0d 69 66 |mouse is| over.if|
|00004780| 20 28 6c 69 6e 65 4e 75 | 6d 62 65 72 20 3e 20 6f | (lineNu|mber > o|
|00004790| 6e 65 29 20 61 6e 64 20 | 28 6c 69 6e 65 4e 75 6d |ne) and |(lineNum|
|000047a0| 62 65 72 20 3c 20 6c 61 | 73 74 4c 69 6e 65 29 20 |ber < la|stLine) |
|000047b0| 74 68 65 6e 0d 2d 2d 20 | 63 61 6c 63 75 6c 61 74 |then.-- |calculat|
|000047c0| 65 20 74 68 65 20 66 69 | 72 73 74 20 61 6e 64 20 |e the fi|rst and |
|000047d0| 6c 61 73 74 20 63 68 61 | 72 61 63 74 65 72 73 20 |last cha|racters |
|000047e0| 69 6e 20 74 68 65 20 6c | 69 6e 65 0d 2d 2d 20 20 |in the l|ine.-- |
|000047f0| 20 69 6e 63 6c 75 64 69 | 6e 67 20 74 68 65 20 72 | includi|ng the r|
|00004800| 65 74 75 72 6e 20 61 74 | 20 74 68 65 20 65 6e 64 |eturn at| the end|
|00004810| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 0d 70 75 74 | of the |line.put|
|00004820| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00004830| 63 68 61 72 73 20 69 6e | 20 28 6c 69 6e 65 20 31 |chars in| (line 1|
|00004840| 20 74 6f 20 28 6c 69 6e | 65 4e 75 6d 62 65 72 20 | to (lin|eNumber |
|00004850| 2d 20 31 29 20 6f 66 20 | 6d 65 29 29 20 2b 20 32 |- 1) of |me)) + 2|
|00004860| 20 69 6e 74 6f 20 66 69 | 72 73 74 43 68 61 72 0d | into fi|rstChar.|
|00004870| 70 75 74 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |put (the| number |
|00004880| 6f 66 20 63 68 61 72 73 | 20 69 6e 20 28 6c 69 6e |of chars| in (lin|
|00004890| 65 20 31 20 74 6f 20 20 | 6c 69 6e 65 4e 75 6d 62 |e 1 to |lineNumb|
|000048a0| 65 72 20 20 20 20 20 20 | 6f 66 20 6d 65 29 29 20 |er |of me)) |
|000048b0| 2b 20 31 20 69 6e 74 6f | 20 20 6c 61 73 74 43 68 |+ 1 into| lastCh|
|000048c0| 61 72 0d 0d 2d 2d 20 68 | 69 6c 69 67 68 74 20 74 |ar..-- h|ilight t|
|000048d0| 68 65 20 6c 69 6e 65 20 | 74 68 65 20 6d 6f 75 73 |he line |the mous|
|000048e0| 65 20 69 73 20 6f 76 65 | 72 0d 73 65 6c 65 63 74 |e is ove|r.select|
|000048f0| 20 63 68 61 72 20 66 69 | 72 73 74 43 68 61 72 20 | char fi|rstChar |
|00004900| 74 6f 20 6c 61 73 74 43 | 68 61 72 20 6f 66 20 74 |to lastC|har of t|
|00004910| 68 65 20 74 61 72 67 65 | 74 0d 65 6c 73 65 0d 69 |he targe|t.else.i|
|00004920| 66 20 6c 69 6e 65 4e 75 | 6d 62 65 72 20 69 73 20 |f lineNu|mber is |
|00004930| 6f 6e 65 20 74 68 65 6e | 0d 2d 2d 20 68 69 6c 69 |one then|.-- hili|
|00004940| 67 68 74 20 74 68 65 20 | 66 69 72 73 74 20 6c 69 |ght the |first li|
|00004950| 6e 65 20 73 69 6e 63 65 | 20 74 68 65 20 6d 6f 75 |ne since| the mou|
|00004960| 73 65 20 69 73 20 6f 76 | 65 72 20 69 74 0d 73 65 |se is ov|er it.se|
|00004970| 6c 65 63 74 20 63 68 61 | 72 20 31 20 74 6f 20 28 |lect cha|r 1 to (|
|00004980| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 |(the num|ber of c|
|00004990| 68 61 72 73 20 69 6e 20 | 6c 69 6e 65 20 6f 6e 65 |hars in |line one|
|000049a0| 20 6f 66 20 6d 65 29 20 | 2b 20 31 29 20 6f 66 20 | of me) |+ 1) of |
|000049b0| 74 68 65 20 74 61 72 67 | 65 74 0d 65 6c 73 65 0d |the targ|et.else.|
|000049c0| 2d 2d 20 64 6f 6e 27 74 | 20 73 65 6c 65 63 74 20 |-- don't| select |
|000049d0| 74 68 65 20 6c 61 73 74 | 20 76 69 73 69 62 6c 65 |the last| visible|
|000049e0| 20 6c 69 6e 65 20 62 65 | 63 61 75 73 65 20 69 74 | line be|cause it|
|000049f0| 20 6d 69 67 68 74 20 63 | 61 75 73 65 0d 2d 2d 20 | might c|ause.-- |
|00004a00| 20 20 74 68 65 20 66 69 | 65 6c 64 20 74 6f 20 73 | the fi|eld to s|
|00004a10| 63 72 6f 6c 6c 20 75 6e | 63 6f 6e 74 72 6f 6c 61 |croll un|controla|
|00004a20| 62 6c 79 0d 73 65 6c 65 | 63 74 20 65 6d 70 74 79 |bly.sele|ct empty|
|00004a30| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00004a40| 6e 64 20 6d 6f 75 73 65 | 57 69 74 68 69 6e 0d 0d |nd mouse|Within..|
|00004a50| 6f 6e 20 6d 6f 75 73 65 | 4c 65 61 76 65 0d 2d 2d |on mouse|Leave.--|
|00004a60| 20 74 69 64 79 20 75 70 | 20 74 68 65 20 64 69 73 | tidy up| the dis|
|00004a70| 70 6c 61 79 20 62 79 20 | 72 65 6d 6f 76 69 6e 67 |play by |removing|
|00004a80| 20 61 6e 79 20 68 69 6c | 69 67 68 74 20 66 72 6f | any hil|ight fro|
|00004a90| 6d 20 74 68 65 20 44 61 | 74 61 20 54 72 65 65 0d |m the Da|ta Tree.|
|00004aa0| 73 65 6c 65 63 74 20 65 | 6d 70 74 79 0d 65 6e 64 |select e|mpty.end|
|00004ab0| 20 6d 6f 75 73 65 4c 65 | 61 76 65 0d 00 00 00 78 | mouseLe|ave....x|
|00004ac0| 00 26 02 2c 00 e1 00 00 | 00 f0 01 a0 00 02 00 00 |.&.,....|........|
|00004ad0| 00 00 00 00 00 03 00 09 | 00 00 00 0a 48 69 6e 74 |........|....Hint|
|00004ae0| 73 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 6c 6f |s..on mo|useUp.lo|
|00004af0| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 74 6f 20 |ck scree|n.go to |
|00004b00| 70 72 65 76 69 6f 75 73 | 20 63 61 72 64 0d 75 6e |previous| card.un|
|00004b10| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00004b20| 20 64 69 73 73 6f 6c 76 | 65 0d 65 6e 64 20 6d 6f | dissolv|e.end mo|
|00004b30| 75 73 65 55 70 00 00 26 | 00 7c 80 1a 00 00 00 03 |useUp..&|.|......|
|00004b40| 00 05 00 04 00 1f 00 03 | 00 2a 00 04 00 44 00 03 |........|.*...D..|
|00004b50| 00 50 00 04 43 6c 69 63 | 6b 20 74 6f 20 65 78 70 |.P..Clic|k to exp|
|00004b60| 61 6e 64 2f 63 6f 6c 6c | 61 70 73 65 20 20 20 20 |and/coll|apse |
|00004b70| 20 20 20 53 68 69 66 74 | 20 43 6c 69 63 6b 20 74 | Shift| Click t|
|00004b80| 6f 20 67 6f 20 74 6f 20 | 61 6e 20 6f 62 6a 65 63 |o go to |an objec|
|00004b90| 74 20 20 20 20 20 20 20 | 4f 70 74 69 6f 6e 20 43 |t |Option C|
|00004ba0| 6c 69 63 6b 20 74 6f 20 | 65 64 69 74 20 61 6e 20 |lick to |edit an |
|00004bb0| 6f 62 6a 65 63 74 53 74 | 61 63 6b 20 49 6e 66 6f |objectSt|ack Info|
|00004bc0| 00 2d 2d 20 43 6f 70 79 | 72 69 67 68 74 20 31 39 |.-- Copy|right 19|
|00004bd0| 39 32 2c 20 4d 69 74 63 | 68 65 6c 6c 20 53 65 77 |92, Mitc|hell Sew|
|00004be0| 61 72 64 2c 20 53 68 6f | 65 53 74 72 69 6e 67 20 |ard, Sho|eString |
|00004bf0| 26 20 42 6f 78 57 6f 6f | 64 20 53 6f 66 74 77 61 |& BoxWoo|d Softwa|
|00004c00| 72 65 2c 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 |re, All |Rights R|
|00004c10| 65 73 65 72 76 65 64 0d | 0d 2d 2d 20 54 68 65 20 |eserved.|.-- The |
|00004c20| 53 74 61 63 6b 20 49 6e | 66 6f 20 62 61 63 6b 67 |Stack In|fo backg|
|00004c30| 72 6f 75 6e 64 27 73 20 | 73 63 72 69 70 74 20 63 |round's |script c|
|00004c40| 6f 6e 74 61 69 6e 73 3a | 0d 0d 2d 2d 20 20 20 20 |ontains:|..-- |
|00004c50| 20 a5 20 74 68 65 20 64 | 6f 4f 62 6a 65 63 74 28 | . the d|oObject(|
|00004c60| 29 20 6d 65 74 61 2d 68 | 61 6e 64 6c 65 72 20 66 |) meta-h|andler f|
|00004c70| 6f 72 20 67 6f 69 6e 67 | 20 74 6f 20 74 68 65 20 |or going| to the |
|00004c80| 74 61 72 67 65 74 20 73 | 74 61 63 6b 0d 2d 2d 20 |target s|tack.-- |
|00004c90| 20 20 20 20 20 20 20 20 | 61 6e 64 20 64 6f 69 6e | |and doin|
|00004ca0| 67 20 74 68 65 20 70 61 | 73 73 65 64 20 73 63 72 |g the pa|ssed scr|
|00004cb0| 69 70 74 73 0d 0d 2d 2d | 20 20 20 20 20 a5 20 61 |ipts..--| . a|
|00004cc0| 20 73 65 72 69 65 73 20 | 6f 66 20 22 66 69 6e 64 | series |of "find|
|00004cd0| 22 20 68 61 6e 64 6c 65 | 72 73 20 66 6f 72 20 67 |" handle|rs for g|
|00004ce0| 65 74 74 69 6e 67 20 69 | 6e 66 6f 72 6d 61 74 69 |etting i|nformati|
|00004cf0| 6f 6e 20 61 62 6f 75 74 | 0d 2d 2d 20 20 20 20 20 |on about|.-- |
|00004d00| 20 20 20 20 76 61 72 69 | 6f 75 73 20 70 61 72 74 | vari|ous part|
|00004d10| 73 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |s of the| target |
|00004d20| 73 74 61 63 6b 0d 0d 2d | 2d 20 20 20 20 20 a5 20 |stack..-|- . |
|00004d30| 61 20 73 65 72 69 65 73 | 20 6f 66 20 75 74 69 6c |a series| of util|
|00004d40| 69 74 69 65 73 20 66 6f | 72 20 6d 61 6e 61 67 69 |ities fo|r managi|
|00004d50| 6e 67 20 74 68 65 20 44 | 61 74 61 20 54 72 65 65 |ng the D|ata Tree|
|00004d60| 20 64 69 73 70 6c 61 79 | 0d 0d 2d 2d 20 42 65 73 | display|..-- Bes|
|00004d70| 69 64 65 73 20 74 68 65 | 20 44 61 74 61 20 54 72 |ides the| Data Tr|
|00004d80| 65 65 20 66 69 65 6c 64 | 20 64 69 73 70 6c 61 79 |ee field| display|
|00004d90| 20 69 74 73 65 6c 66 20 | 74 68 65 72 65 20 61 72 | itself |there ar|
|00004da0| 65 20 74 68 72 65 65 20 | 6f 74 68 65 72 0d 2d 2d |e three |other.--|
|00004db0| 20 20 20 74 61 62 6c 65 | 73 20 6d 61 69 6e 74 61 | table|s mainta|
|00004dc0| 69 6e 65 64 20 62 79 20 | 53 74 61 63 6b 20 44 69 |ined by |Stack Di|
|00004dd0| 73 73 65 63 74 6f 72 2e | 20 54 68 65 73 65 20 74 |ssector.| These t|
|00004de0| 61 62 6c 65 73 20 61 72 | 65 20 73 74 6f 72 65 64 |ables ar|e stored|
|00004df0| 20 69 6e 0d 2d 2d 20 20 | 20 66 69 65 6c 64 73 20 | in.-- | fields |
|00004e00| 63 61 6c 6c 65 64 20 22 | 4c 65 76 65 6c 20 54 61 |called "|Level Ta|
|00004e10| 62 6c 65 22 2c 20 22 54 | 79 70 65 20 54 61 62 6c |ble", "T|ype Tabl|
|00004e20| 65 22 20 61 6e 64 20 22 | 49 44 20 54 61 62 6c 65 |e" and "|ID Table|
|00004e30| 22 0d 0d 2d 2d 20 54 68 | 65 20 6c 65 76 65 6c 20 |"..-- Th|e level |
|00004e40| 74 61 62 6c 65 20 73 74 | 6f 72 65 73 20 74 68 65 |table st|ores the|
|00004e50| 20 69 6e 64 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 | indenta|tion of |
|00004e60| 65 61 63 68 20 6c 69 6e | 65 20 69 6e 20 74 68 65 |each lin|e in the|
|00004e70| 20 64 61 74 61 20 74 72 | 65 65 2e 0d 2d 2d 20 54 | data tr|ee..-- T|
|00004e80| 68 65 20 74 79 70 65 20 | 74 61 62 6c 65 20 73 74 |he type |table st|
|00004e90| 6f 72 65 73 20 74 68 65 | 20 74 79 70 65 20 6f 66 |ores the| type of|
|00004ea0| 20 74 68 65 20 6f 62 6a | 65 63 74 20 6c 69 73 74 | the obj|ect list|
|00004eb0| 65 64 20 6f 6e 20 65 61 | 63 68 20 6c 69 6e 65 20 |ed on ea|ch line |
|00004ec0| 69 6e 0d 2d 2d 20 20 20 | 74 68 65 20 64 61 74 61 |in.-- |the data|
|00004ed0| 20 74 72 65 65 2e 0d 2d | 2d 20 54 68 65 20 49 44 | tree..-|- The ID|
|00004ee0| 20 74 61 62 6c 65 20 73 | 74 6f 72 65 73 20 74 68 | table s|tores th|
|00004ef0| 65 20 49 44 20 6f 66 20 | 74 68 65 20 6f 62 6a 65 |e ID of |the obje|
|00004f00| 63 74 20 6c 69 73 74 65 | 64 20 6f 6e 20 65 61 63 |ct liste|d on eac|
|00004f10| 68 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 0d 2d 2d |h line i|n the.--|
|00004f20| 20 20 20 64 61 74 61 20 | 74 72 65 65 2e 0d 0d 2d | data |tree...-|
|00004f30| 2d 20 54 68 65 20 73 63 | 72 69 70 74 73 20 75 73 |- The sc|ripts us|
|00004f40| 65 64 20 62 79 20 64 6f | 4f 62 6a 65 63 74 28 29 |ed by do|Object()|
|00004f50| 20 61 72 65 20 73 74 6f | 72 65 64 20 69 6e 20 66 | are sto|red in f|
|00004f60| 69 65 6c 64 73 20 63 61 | 6c 6c 65 64 20 67 6f 74 |ields ca|lled got|
|00004f70| 6f 53 74 61 63 6b 2c 0d | 2d 2d 20 20 20 67 6f 74 |oStack,.|-- got|
|00004f80| 6f 50 6c 61 6e 65 2c 20 | 67 6f 74 6f 43 6f 6e 74 |oPlane, |gotoCont|
|00004f90| 61 69 6e 65 72 2c 20 65 | 64 69 74 53 74 61 63 6b |ainer, e|ditStack|
|00004fa0| 49 6e 66 6f 2c 20 65 64 | 69 74 50 6c 61 6e 65 49 |Info, ed|itPlaneI|
|00004fb0| 6e 66 6f 2c 0d 2d 2d 20 | 20 20 65 64 69 74 43 6f |nfo,.-- | editCo|
|00004fc0| 6e 74 61 69 6e 65 72 49 | 6e 66 6f 2c 20 66 69 6e |ntainerI|nfo, fin|
|00004fd0| 64 53 74 61 63 6b 53 63 | 72 69 70 74 2c 20 66 69 |dStackSc|ript, fi|
|00004fe0| 6e 64 50 6c 61 6e 65 53 | 63 72 69 70 74 2c 0d 2d |ndPlaneS|cript,.-|
|00004ff0| 2d 20 20 20 66 69 6e 64 | 43 6f 6e 74 61 69 6e 65 |- find|Containe|
|00005000| 72 53 63 72 69 70 74 2c | 20 65 64 69 74 53 74 61 |rScript,| editSta|
|00005010| 63 6b 53 63 72 69 70 74 | 2c 20 65 64 69 74 50 6c |ckScript|, editPl|
|00005020| 61 6e 65 53 63 72 69 70 | 74 20 61 6e 64 0d 2d 2d |aneScrip|t and.--|
|00005030| 20 20 20 65 64 69 74 43 | 6f 6e 74 61 69 6e 65 72 | editC|ontainer|
|00005040| 53 63 72 69 70 74 2e 0d | 0d 2d 2d 20 41 6c 6c 20 |Script..|.-- All |
|00005050| 6f 66 20 74 68 65 73 65 | 20 6f 74 68 65 72 20 66 |of these| other f|
|00005060| 69 65 6c 64 73 20 61 72 | 65 20 62 65 68 69 6e 64 |ields ar|e behind|
|00005070| 20 74 68 65 20 44 61 74 | 61 20 54 72 65 65 20 62 | the Dat|a Tree b|
|00005080| 61 63 6b 67 72 6f 75 6e | 64 20 66 69 65 6c 64 2e |ackgroun|d field.|
|00005090| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 64 6f 4f 62 6a |..functi|on doObj|
|000050a0| 65 63 74 20 6c 69 6e 65 | 4e 75 6d 62 65 72 2c 20 |ect line|Number, |
|000050b0| 73 74 61 63 6b 53 63 72 | 69 70 74 2c 20 70 6c 61 |stackScr|ipt, pla|
|000050c0| 6e 65 53 63 72 69 70 74 | 2c 20 63 6f 6e 74 61 69 |neScript|, contai|
|000050d0| 6e 65 72 53 63 72 69 70 | 74 0d 0d 2d 2d 20 67 65 |nerScrip|t..-- ge|
|000050e0| 74 20 6f 62 6a 65 63 74 | 27 73 20 63 68 61 72 61 |t object|'s chara|
|000050f0| 63 74 65 72 69 73 74 69 | 63 73 0d 70 75 74 20 66 |cteristi|cs.put f|
|00005100| 69 6e 64 54 79 70 65 28 | 20 20 6c 69 6e 65 4e 75 |indType(| lineNu|
|00005110| 6d 62 65 72 29 20 69 6e | 74 6f 20 6f 62 6a 65 63 |mber) in|to objec|
|00005120| 74 54 79 70 65 0d 70 75 | 74 20 66 69 6e 64 49 44 |tType.pu|t findID|
|00005130| 28 20 20 20 20 6c 69 6e | 65 4e 75 6d 62 65 72 29 |( lin|eNumber)|
|00005140| 20 69 6e 74 6f 20 6f 62 | 6a 65 63 74 49 44 0d 70 | into ob|jectID.p|
|00005150| 75 74 20 66 69 6e 64 53 | 74 72 69 6e 67 28 6c 69 |ut findS|tring(li|
|00005160| 6e 65 4e 75 6d 62 65 72 | 29 20 69 6e 74 6f 20 6f |neNumber|) into o|
|00005170| 62 6a 65 63 74 53 74 72 | 69 6e 67 0d 70 75 74 20 |bjectStr|ing.put |
|00005180| 66 69 6e 64 4e 61 6d 65 | 28 20 20 6c 69 6e 65 4e |findName|( lineN|
|00005190| 75 6d 62 65 72 29 20 69 | 6e 74 6f 20 6f 62 6a 65 |umber) i|nto obje|
|000051a0| 63 74 4e 61 6d 65 0d 0d | 69 66 20 6f 62 6a 65 63 |ctName..|if objec|
|000051b0| 74 54 79 70 65 20 69 73 | 20 22 73 74 61 63 6b 22 |tType is| "stack"|
|000051c0| 20 74 68 65 6e 0d 70 75 | 74 20 67 65 74 53 63 72 | then.pu|t getScr|
|000051d0| 69 70 74 28 73 74 61 63 | 6b 53 63 72 69 70 74 29 |ipt(stac|kScript)|
|000051e0| 20 69 6e 74 6f 20 73 74 | 61 63 6b 53 63 72 69 70 | into st|ackScrip|
|000051f0| 74 0d 0d 2d 2d 20 67 6f | 20 74 6f 20 74 68 65 20 |t..-- go| to the |
|00005200| 73 74 61 63 6b 0d 67 6f | 20 74 6f 20 73 74 61 63 |stack.go| to stac|
|00005210| 6b 20 6f 62 6a 65 63 74 | 4e 61 6d 65 20 69 6e 20 |k object|Name in |
|00005220| 61 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 0d 64 6f |a new wi|ndow..do|
|00005230| 20 73 74 61 63 6b 53 63 | 72 69 70 74 0d 65 6c 73 | stackSc|ript.els|
|00005240| 65 0d 0d 2d 2d 20 67 65 | 74 20 73 6f 6d 65 20 6d |e..-- ge|t some m|
|00005250| 6f 72 65 20 69 6e 66 6f | 0d 70 75 74 20 66 69 6e |ore info|.put fin|
|00005260| 64 4f 62 6a 65 63 74 4e | 61 6d 65 28 22 73 74 61 |dObjectN|ame("sta|
|00005270| 63 6b 22 2c 20 6c 69 6e | 65 4e 75 6d 62 65 72 29 |ck", lin|eNumber)|
|00005280| 20 69 6e 74 6f 20 73 74 | 61 63 6b 4e 61 6d 65 0d | into st|ackName.|
|00005290| 70 75 74 20 74 68 65 20 | 66 69 72 73 74 20 20 77 |put the |first w|
|000052a0| 6f 72 64 20 6f 66 20 6f | 62 6a 65 63 74 54 79 70 |ord of o|bjectTyp|
|000052b0| 65 20 20 20 20 20 20 20 | 69 6e 74 6f 20 70 6c 61 |e |into pla|
|000052c0| 6e 65 54 79 70 65 0d 70 | 75 74 20 74 68 65 20 73 |neType.p|ut the s|
|000052d0| 65 63 6f 6e 64 20 77 6f | 72 64 20 6f 66 20 6f 62 |econd wo|rd of ob|
|000052e0| 6a 65 63 74 54 79 70 65 | 20 20 20 20 20 20 20 69 |jectType| i|
|000052f0| 6e 74 6f 20 63 6f 6e 74 | 61 69 6e 65 72 54 79 70 |nto cont|ainerTyp|
|00005300| 65 0d 0d 69 66 20 28 28 | 70 6c 61 6e 65 54 79 70 |e..if ((|planeTyp|
|00005310| 65 20 69 73 20 22 62 6b | 67 6e 64 22 29 20 6f 72 |e is "bk|gnd") or|
|00005320| 20 28 70 6c 61 6e 65 54 | 79 70 65 20 69 73 20 22 | (planeT|ype is "|
|00005330| 63 61 72 64 22 29 29 20 | 61 6e 64 20 28 63 6f 6e |card")) |and (con|
|00005340| 74 61 69 6e 65 72 54 79 | 70 65 20 69 73 20 22 22 |tainerTy|pe is ""|
|00005350| 29 20 74 68 65 6e 0d 70 | 75 74 20 67 65 74 53 63 |) then.p|ut getSc|
|00005360| 72 69 70 74 28 70 6c 61 | 6e 65 53 63 72 69 70 74 |ript(pla|neScript|
|00005370| 29 20 69 6e 74 6f 20 70 | 6c 61 6e 65 53 63 72 69 |) into p|laneScri|
|00005380| 70 74 0d 0d 2d 2d 20 67 | 6f 20 74 6f 20 74 68 65 |pt..-- g|o to the|
|00005390| 20 70 6c 61 6e 65 0d 67 | 6f 20 74 6f 20 73 74 61 | plane.g|o to sta|
|000053a0| 63 6b 20 73 74 61 63 6b | 4e 61 6d 65 20 69 6e 20 |ck stack|Name in |
|000053b0| 61 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 64 6f 20 |a new wi|ndow.do |
|000053c0| 22 67 6f 20 74 6f 22 20 | 26 26 20 70 6c 61 6e 65 |"go to" |&& plane|
|000053d0| 54 79 70 65 20 26 26 20 | 22 69 64 22 20 26 26 20 |Type && |"id" && |
|000053e0| 6f 62 6a 65 63 74 49 44 | 0d 0d 64 6f 20 70 6c 61 |objectID|..do pla|
|000053f0| 6e 65 53 63 72 69 70 74 | 0d 65 6c 73 65 0d 0d 2d |neScript|.else..-|
|00005400| 2d 20 67 65 74 20 73 6f | 6d 65 20 6d 6f 72 65 20 |- get so|me more |
|00005410| 69 6e 66 6f 0d 70 75 74 | 20 66 69 6e 64 4f 62 6a |info.put| findObj|
|00005420| 65 63 74 49 44 28 70 6c | 61 6e 65 54 79 70 65 2c |ectID(pl|aneType,|
|00005430| 20 6c 69 6e 65 4e 75 6d | 62 65 72 29 20 69 6e 74 | lineNum|ber) int|
|00005440| 6f 20 70 6c 61 6e 65 49 | 44 0d 0d 69 66 20 28 63 |o planeI|D..if (c|
|00005450| 6f 6e 74 61 69 6e 65 72 | 54 79 70 65 20 69 73 20 |ontainer|Type is |
|00005460| 22 62 75 74 74 6f 6e 22 | 29 20 6f 72 20 28 63 6f |"button"|) or (co|
|00005470| 6e 74 61 69 6e 65 72 54 | 79 70 65 20 69 73 20 22 |ntainerT|ype is "|
|00005480| 66 69 65 6c 64 22 29 20 | 74 68 65 6e 0d 70 75 74 |field") |then.put|
|00005490| 20 67 65 74 53 63 72 69 | 70 74 28 63 6f 6e 74 61 | getScri|pt(conta|
|000054a0| 69 6e 65 72 53 63 72 69 | 70 74 29 20 69 6e 74 6f |inerScri|pt) into|
|000054b0| 20 63 6f 6e 74 61 69 6e | 65 72 53 63 72 69 70 74 | contain|erScript|
|000054c0| 0d 0d 2d 2d 20 67 6f 20 | 74 6f 20 74 68 65 20 63 |..-- go |to the c|
|000054d0| 6f 6e 74 61 69 6e 65 72 | 0d 67 6f 20 74 6f 20 73 |ontainer|.go to s|
|000054e0| 74 61 63 6b 20 73 74 61 | 63 6b 4e 61 6d 65 20 69 |tack sta|ckName i|
|000054f0| 6e 20 61 20 6e 65 77 20 | 77 69 6e 64 6f 77 0d 64 |n a new |window.d|
|00005500| 6f 20 22 67 6f 20 74 6f | 22 20 26 26 20 70 6c 61 |o "go to|" && pla|
|00005510| 6e 65 54 79 70 65 20 26 | 26 20 22 69 64 22 20 26 |neType &|& "id" &|
|00005520| 26 20 70 6c 61 6e 65 49 | 44 0d 0d 64 6f 20 63 6f |& planeI|D..do co|
|00005530| 6e 74 61 69 6e 65 72 53 | 63 72 69 70 74 0d 65 6c |ntainerS|cript.el|
|00005540| 73 65 0d 61 6e 73 77 65 | 72 20 22 53 6f 6d 65 74 |se.answe|r "Somet|
|00005550| 68 69 6e 67 20 69 73 20 | 77 72 6f 6e 67 2e 20 57 |hing is |wrong. W|
|00005560| 68 61 74 20 69 73 20 61 | 22 20 26 26 20 71 75 6f |hat is a|" && quo|
|00005570| 74 65 20 26 20 6f 62 6a | 65 63 74 4e 61 6d 65 20 |te & obj|ectName |
|00005580| 26 20 71 75 6f 74 65 20 | 26 26 20 22 61 6e 79 77 |& quote |&& "anyw|
|00005590| 61 79 73 3f 22 20 77 69 | 74 68 20 53 6f 72 72 79 |ays?" wi|th Sorry|
|000055a0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|000055b0| 6e 64 20 69 66 0d 0d 72 | 65 74 75 72 6e 20 72 65 |nd if..r|eturn re|
|000055c0| 74 75 72 6e 56 61 6c 75 | 65 0d 65 6e 64 20 64 6f |turnValu|e.end do|
|000055d0| 4f 62 6a 65 63 74 0d 0d | 66 75 6e 63 74 69 6f 6e |Object..|function|
|000055e0| 20 66 69 6e 64 53 63 72 | 69 70 74 20 6c 69 6e 65 | findScr|ipt line|
|000055f0| 4e 75 6d 62 65 72 0d 0d | 2d 2d 20 67 65 74 20 6f |Number..|-- get o|
|00005600| 62 6a 65 63 74 27 73 20 | 63 68 61 72 61 63 74 65 |bject's |characte|
|00005610| 72 69 73 74 69 63 73 0d | 70 75 74 20 66 69 6e 64 |ristics.|put find|
|00005620| 54 79 70 65 28 6c 69 6e | 65 4e 75 6d 62 65 72 29 |Type(lin|eNumber)|
|00005630| 20 69 6e 74 6f 20 6f 62 | 6a 65 63 74 54 79 70 65 | into ob|jectType|
|00005640| 0d 0d 69 66 20 6f 62 6a | 65 63 74 54 79 70 65 20 |..if obj|ectType |
|00005650| 3d 20 22 68 61 6e 64 6c | 65 72 22 20 74 68 65 6e |= "handl|er" then|
|00005660| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 6f 62 |.repeat |until ob|
|00005670| 6a 65 63 74 54 79 70 65 | 20 3d 20 22 68 61 6e 64 |jectType| = "hand|
|00005680| 6c 65 72 73 22 0d 70 75 | 74 20 6c 69 6e 65 4e 75 |lers".pu|t lineNu|
|00005690| 6d 62 65 72 20 2d 20 31 | 20 69 6e 74 6f 20 6c 69 |mber - 1| into li|
|000056a0| 6e 65 4e 75 6d 62 65 72 | 0d 0d 70 75 74 20 66 69 |neNumber|..put fi|
|000056b0| 6e 64 54 79 70 65 28 6c | 69 6e 65 4e 75 6d 62 65 |ndType(l|ineNumbe|
|000056c0| 72 29 20 69 6e 74 6f 20 | 6f 62 6a 65 63 74 54 79 |r) into |objectTy|
|000056d0| 70 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |pe.end r|epeat.en|
|000056e0| 64 20 69 66 0d 0d 69 66 | 20 6f 62 6a 65 63 74 54 |d if..if| objectT|
|000056f0| 79 70 65 20 3d 20 22 68 | 61 6e 64 6c 65 72 73 22 |ype = "h|andlers"|
|00005700| 20 74 68 65 6e 0d 70 75 | 74 20 6c 69 6e 65 4e 75 | then.pu|t lineNu|
|00005710| 6d 62 65 72 20 2d 20 31 | 20 69 6e 74 6f 20 6c 69 |mber - 1| into li|
|00005720| 6e 65 4e 75 6d 62 65 72 | 0d 0d 70 75 74 20 66 69 |neNumber|..put fi|
|00005730| 6e 64 54 79 70 65 28 6c | 69 6e 65 4e 75 6d 62 65 |ndType(l|ineNumbe|
|00005740| 72 29 20 69 6e 74 6f 20 | 6f 62 6a 65 63 74 54 79 |r) into |objectTy|
|00005750| 70 65 0d 65 6e 64 20 69 | 66 0d 0d 72 65 74 75 72 |pe.end i|f..retur|
|00005760| 6e 20 64 6f 4f 62 6a 65 | 63 74 28 6c 69 6e 65 4e |n doObje|ct(lineN|
|00005770| 75 6d 62 65 72 2c 20 66 | 69 6e 64 53 74 61 63 6b |umber, f|indStack|
|00005780| 53 63 72 69 70 74 2c 20 | 66 69 6e 64 50 6c 61 6e |Script, |findPlan|
|00005790| 65 53 63 72 69 70 74 2c | 20 66 69 6e 64 43 6f 6e |eScript,| findCon|
|000057a0| 74 61 69 6e 65 72 53 63 | 72 69 70 74 29 0d 65 6e |tainerSc|ript).en|
|000057b0| 64 20 66 69 6e 64 53 63 | 72 69 70 74 0d 0d 66 75 |d findSc|ript..fu|
|000057c0| 6e 63 74 69 6f 6e 20 66 | 69 6e 64 4f 62 6a 65 63 |nction f|indObjec|
|000057d0| 74 49 44 20 6f 62 6a 65 | 63 74 2c 20 6c 69 6e 65 |tID obje|ct, line|
|000057e0| 4e 75 6d 62 65 72 0d 0d | 72 65 74 75 72 6e 20 74 |Number..|return t|
|000057f0| 68 65 20 66 69 72 73 74 | 20 69 74 65 6d 20 6f 66 |he first| item of|
|00005800| 20 66 69 6e 64 4f 62 6a | 65 63 74 28 6f 62 6a 65 | findObj|ect(obje|
|00005810| 63 74 2c 20 6c 69 6e 65 | 4e 75 6d 62 65 72 29 0d |ct, line|Number).|
|00005820| 65 6e 64 20 66 69 6e 64 | 4f 62 6a 65 63 74 49 44 |end find|ObjectID|
|00005830| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 66 69 6e 64 4f |..functi|on findO|
|00005840| 62 6a 65 63 74 4e 61 6d | 65 20 6f 62 6a 65 63 74 |bjectNam|e object|
|00005850| 2c 20 6c 69 6e 65 4e 75 | 6d 62 65 72 0d 70 75 74 |, lineNu|mber.put|
|00005860| 20 66 69 6e 64 4f 62 6a | 65 63 74 28 6f 62 6a 65 | findObj|ect(obje|
|00005870| 63 74 2c 20 6c 69 6e 65 | 4e 75 6d 62 65 72 29 20 |ct, line|Number) |
|00005880| 69 6e 74 6f 20 6f 62 6a | 65 63 74 4c 69 73 74 0d |into obj|ectList.|
|00005890| 0d 72 65 74 75 72 6e 20 | 69 74 65 6d 20 32 20 74 |.return |item 2 t|
|000058a0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|000058b0| 69 74 65 6d 73 20 69 6e | 20 6f 62 6a 65 63 74 4c |items in| objectL|
|000058c0| 69 73 74 20 6f 66 20 6f | 62 6a 65 63 74 4c 69 73 |ist of o|bjectLis|
|000058d0| 74 0d 65 6e 64 20 66 69 | 6e 64 4f 62 6a 65 63 74 |t.end fi|ndObject|
|000058e0| 4e 61 6d 65 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 66 |Name..fu|nction f|
|000058f0| 69 6e 64 4f 62 6a 65 63 | 74 20 6f 62 6a 65 63 74 |indObjec|t object|
|00005900| 2c 20 6c 69 6e 65 4e 75 | 6d 62 65 72 0d 2d 2d 20 |, lineNu|mber.-- |
|00005910| 73 65 61 72 63 68 20 66 | 6f 72 20 70 6f 73 73 69 |search f|or possi|
|00005920| 62 6c 65 20 6f 62 6a 65 | 63 74 0d 70 75 74 20 66 |ble obje|ct.put f|
|00005930| 69 6e 64 54 79 70 65 28 | 6c 69 6e 65 4e 75 6d 62 |indType(|lineNumb|
|00005940| 65 72 29 20 69 6e 74 6f | 20 6c 69 6e 65 54 79 70 |er) into| lineTyp|
|00005950| 65 0d 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |e..repea|t until |
|00005960| 28 6c 69 6e 65 54 79 70 | 65 20 3d 20 6f 62 6a 65 |(lineTyp|e = obje|
|00005970| 63 74 29 20 6f 72 20 28 | 6c 69 6e 65 4e 75 6d 62 |ct) or (|lineNumb|
|00005980| 65 72 20 3c 20 31 29 0d | 70 75 74 20 6c 69 6e 65 |er < 1).|put line|
|00005990| 4e 75 6d 62 65 72 20 2d | 20 31 20 69 6e 74 6f 20 |Number -| 1 into |
|000059a0| 6c 69 6e 65 4e 75 6d 62 | 65 72 0d 0d 70 75 74 20 |lineNumb|er..put |
|000059b0| 66 69 6e 64 54 79 70 65 | 28 6c 69 6e 65 4e 75 6d |findType|(lineNum|
|000059c0| 62 65 72 29 20 69 6e 74 | 6f 20 6c 69 6e 65 54 79 |ber) int|o lineTy|
|000059d0| 70 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 2d |pe.end r|epeat..-|
|000059e0| 2d 20 73 61 76 65 20 74 | 68 65 20 70 6f 73 73 69 |- save t|he possi|
|000059f0| 62 6c 65 20 6f 62 6a 65 | 63 74 20 6e 61 6d 65 20 |ble obje|ct name |
|00005a00| 61 6e 64 20 49 44 0d 70 | 75 74 20 66 69 6e 64 4e |and ID.p|ut findN|
|00005a10| 61 6d 65 28 6c 69 6e 65 | 4e 75 6d 62 65 72 29 20 |ame(line|Number) |
|00005a20| 69 6e 74 6f 20 6f 62 6a | 65 63 74 4e 61 6d 65 0d |into obj|ectName.|
|00005a30| 70 75 74 20 66 69 6e 64 | 49 44 28 20 20 6c 69 6e |put find|ID( lin|
|00005a40| 65 4e 75 6d 62 65 72 29 | 20 69 6e 74 6f 20 6f 62 |eNumber)| into ob|
|00005a50| 6a 65 63 74 49 44 0d 70 | 75 74 20 66 69 6e 64 54 |jectID.p|ut findT|
|00005a60| 79 70 65 28 6c 69 6e 65 | 4e 75 6d 62 65 72 29 20 |ype(line|Number) |
|00005a70| 69 6e 74 6f 20 6f 62 6a | 65 63 74 54 79 70 65 0d |into obj|ectType.|
|00005a80| 0d 2d 2d 20 63 6f 6e 66 | 69 72 6d 20 74 68 61 74 |.-- conf|irm that|
|00005a90| 20 74 68 69 73 20 69 73 | 20 74 68 65 20 6f 62 6a | this is| the obj|
|00005aa0| 65 63 74 20 62 65 69 6e | 67 20 73 6f 75 67 68 74 |ect bein|g sought|
|00005ab0| 0d 69 66 20 6f 62 6a 65 | 63 74 54 79 70 65 20 3d |.if obje|ctType =|
|00005ac0| 20 6f 62 6a 65 63 74 20 | 74 68 65 6e 0d 72 65 74 | object |then.ret|
|00005ad0| 75 72 6e 20 6f 62 6a 65 | 63 74 49 44 20 26 20 22 |urn obje|ctID & "|
|00005ae0| 2c 22 20 26 20 6f 62 6a | 65 63 74 4e 61 6d 65 0d |," & obj|ectName.|
|00005af0| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 53 6f 72 |else.ans|wer "Sor|
|00005b00| 72 79 2c 20 49 20 63 6f | 75 6c 64 6e 27 74 20 66 |ry, I co|uldn't f|
|00005b10| 69 6e 64 20 61 22 20 26 | 26 20 6f 62 6a 65 63 74 |ind a" &|& object|
|00005b20| 20 26 26 20 22 66 6f 72 | 20 79 6f 75 2e 22 20 20 | && "for| you." |
|00005b30| 77 69 74 68 20 4f 4b 0d | 61 6e 73 77 65 72 20 22 |with OK.|answer "|
|00005b40| 46 6f 75 6e 64 22 20 26 | 26 20 71 75 6f 74 65 20 |Found" &|& quote |
|00005b50| 26 20 6f 62 6a 65 63 74 | 4e 61 6d 65 20 26 20 71 |& object|Name & q|
|00005b60| 75 6f 74 65 20 26 26 20 | 22 69 6e 73 74 65 61 64 |uote && |"instead|
|00005b70| 2e 22 20 77 69 74 68 20 | 4f 4b 0d 61 6e 73 77 65 |." with |OK.answe|
|00005b80| 72 20 22 54 68 61 74 27 | 73 20 61 22 20 26 26 20 |r "That'|s a" && |
|00005b90| 6f 62 6a 65 63 74 54 79 | 70 65 20 26 20 22 2e 20 |objectTy|pe & ". |
|00005ba0| 52 69 67 68 74 3f 22 20 | 20 20 20 20 20 20 20 20 |Right?" | |
|00005bb0| 20 20 20 20 20 20 77 69 | 74 68 20 4f 4b 0d 72 65 | wi|th OK.re|
|00005bc0| 74 75 72 6e 20 22 2c 22 | 0d 65 6e 64 20 69 66 0d |turn ","|.end if.|
|00005bd0| 65 6e 64 20 66 69 6e 64 | 4f 62 6a 65 63 74 0d 0d |end find|Object..|
|00005be0| 66 75 6e 63 74 69 6f 6e | 20 66 69 6e 64 43 6c 61 |function| findCla|
|00005bf0| 73 73 20 6c 69 6e 65 4e | 75 6d 62 65 72 0d 70 75 |ss lineN|umber.pu|
|00005c00| 74 20 66 69 6e 64 54 79 | 70 65 28 6c 69 6e 65 4e |t findTy|pe(lineN|
|00005c10| 75 6d 62 65 72 29 20 69 | 6e 74 6f 20 6c 69 6e 65 |umber) i|nto line|
|00005c20| 54 79 70 65 0d 0d 69 66 | 20 74 68 65 20 6c 61 73 |Type..if| the las|
|00005c30| 74 20 63 68 61 72 20 6f | 66 20 6c 69 6e 65 54 79 |t char o|f lineTy|
|00005c40| 70 65 20 69 73 20 22 73 | 22 20 74 68 65 6e 0d 72 |pe is "s|" then.r|
|00005c50| 65 74 75 72 6e 20 22 6c | 69 73 74 22 0d 65 6c 73 |eturn "l|ist".els|
|00005c60| 65 0d 70 75 74 20 66 69 | 6e 64 53 74 72 69 6e 67 |e.put fi|ndString|
|00005c70| 28 6c 69 6e 65 4e 75 6d | 62 65 72 29 20 69 6e 74 |(lineNum|ber) int|
|00005c80| 6f 20 6c 69 6e 65 53 74 | 72 69 6e 67 0d 0d 69 66 |o lineSt|ring..if|
|00005c90| 20 28 6c 69 6e 65 53 74 | 72 69 6e 67 20 3c 3e 20 | (lineSt|ring <> |
|00005ca0| 22 22 29 20 61 6e 64 20 | 28 63 68 61 72 20 31 20 |"") and |(char 1 |
|00005cb0| 74 6f 20 33 20 6f 66 20 | 77 6f 72 64 20 31 20 6f |to 3 of |word 1 o|
|00005cc0| 66 20 6c 69 6e 65 53 74 | 72 69 6e 67 20 3c 3e 20 |f lineSt|ring <> |
|00005cd0| 22 5f 5f 5f 22 29 20 74 | 68 65 6e 0d 72 65 74 75 |"___") t|hen.retu|
|00005ce0| 72 6e 20 22 65 6e 74 72 | 79 22 0d 65 6c 73 65 0d |rn "entr|y".else.|
|00005cf0| 72 65 74 75 72 6e 20 22 | 62 6c 61 6e 6b 22 0d 65 |return "|blank".e|
|00005d00| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005d10| 20 66 69 6e 64 43 6c 61 | 73 73 0d 0d 66 75 6e 63 | findCla|ss..func|
|00005d20| 74 69 6f 6e 20 66 69 6e | 64 4e 61 6d 65 20 6c 69 |tion fin|dName li|
|00005d30| 6e 65 4e 75 6d 62 65 72 | 0d 72 65 74 75 72 6e 20 |neNumber|.return |
|00005d40| 74 72 69 6d 42 6c 61 6e | 6b 73 28 66 69 6e 64 53 |trimBlan|ks(findS|
|00005d50| 74 72 69 6e 67 28 6c 69 | 6e 65 4e 75 6d 62 65 72 |tring(li|neNumber|
|00005d60| 29 29 0d 65 6e 64 20 66 | 69 6e 64 4e 61 6d 65 0d |)).end f|indName.|
|00005d70| 0d 66 75 6e 63 74 69 6f | 6e 20 66 69 6e 64 53 74 |.functio|n findSt|
|00005d80| 72 69 6e 67 20 6c 69 6e | 65 4e 75 6d 62 65 72 0d |ring lin|eNumber.|
|00005d90| 72 65 74 75 72 6e 20 6c | 69 6e 65 20 6c 69 6e 65 |return l|ine line|
|00005da0| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|00005db0| 22 44 61 74 61 20 54 72 | 65 65 22 0d 65 6e 64 20 |"Data Tr|ee".end |
|00005dc0| 66 69 6e 64 53 74 72 69 | 6e 67 0d 0d 66 75 6e 63 |findStri|ng..func|
|00005dd0| 74 69 6f 6e 20 66 69 6e | 64 49 44 20 6c 69 6e 65 |tion fin|dID line|
|00005de0| 4e 75 6d 62 65 72 0d 72 | 65 74 75 72 6e 20 6c 69 |Number.r|eturn li|
|00005df0| 6e 65 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 6f 66 |ne lineN|umber of|
|00005e00| 20 66 69 65 6c 64 20 22 | 49 44 20 54 61 62 6c 65 | field "|ID Table|
|00005e10| 22 0d 65 6e 64 20 66 69 | 6e 64 49 44 0d 0d 66 75 |".end fi|ndID..fu|
|00005e20| 6e 63 74 69 6f 6e 20 66 | 69 6e 64 54 79 70 65 20 |nction f|indType |
|00005e30| 6c 69 6e 65 4e 75 6d 62 | 65 72 0d 72 65 74 75 72 |lineNumb|er.retur|
|00005e40| 6e 20 6c 69 6e 65 20 6c | 69 6e 65 4e 75 6d 62 65 |n line l|ineNumbe|
|00005e50| 72 20 6f 66 20 66 69 65 | 6c 64 20 22 54 79 70 65 |r of fie|ld "Type|
|00005e60| 20 54 61 62 6c 65 22 0d | 65 6e 64 20 66 69 6e 64 | Table".|end find|
|00005e70| 54 79 70 65 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 66 |Type..fu|nction f|
|00005e80| 69 6e 64 4c 65 76 65 6c | 20 6c 69 6e 65 4e 75 6d |indLevel| lineNum|
|00005e90| 62 65 72 0d 69 66 20 6c | 69 6e 65 4e 75 6d 62 65 |ber.if l|ineNumbe|
|00005ea0| 72 20 3e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |r > the |number o|
|00005eb0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 66 69 65 6c 64 |f lines |in field|
|00005ec0| 20 22 44 61 74 61 20 54 | 72 65 65 22 20 74 68 65 | "Data T|ree" the|
|00005ed0| 6e 0d 72 65 74 75 72 6e | 20 30 0d 65 6c 73 65 0d |n.return| 0.else.|
|00005ee0| 72 65 74 75 72 6e 20 6c | 69 6e 65 20 6c 69 6e 65 |return l|ine line|
|00005ef0| 4e 75 6d 62 65 72 20 6f | 66 20 66 69 65 6c 64 20 |Number o|f field |
|00005f00| 22 4c 65 76 65 6c 20 54 | 61 62 6c 65 22 0d 65 6e |"Level T|able".en|
|00005f10| 64 20 69 66 0d 65 6e 64 | 20 66 69 6e 64 4c 65 76 |d if.end| findLev|
|00005f20| 65 6c 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 65 6e 64 |el..func|tion end|
|00005f30| 4c 65 76 65 6c 20 6c 69 | 6e 65 4e 75 6d 62 65 72 |Level li|neNumber|
|00005f40| 0d 2d 2d 20 67 65 74 20 | 74 68 65 20 6c 65 76 65 |.-- get |the leve|
|00005f50| 6c 20 6f 66 20 74 68 69 | 73 20 6c 69 6e 65 20 61 |l of thi|s line a|
|00005f60| 6e 64 20 74 68 65 20 6e | 65 78 74 0d 70 75 74 20 |nd the n|ext.put |
|00005f70| 66 69 6e 64 4c 65 76 65 | 6c 28 6c 69 6e 65 4e 75 |findLeve|l(lineNu|
|00005f80| 6d 62 65 72 20 20 29 20 | 69 6e 74 6f 20 74 68 69 |mber ) |into thi|
|00005f90| 73 4c 65 76 65 6c 0d 70 | 75 74 20 66 69 6e 64 4c |sLevel.p|ut findL|
|00005fa0| 65 76 65 6c 28 6c 69 6e | 65 4e 75 6d 62 65 72 2b |evel(lin|eNumber+|
|00005fb0| 31 29 20 69 6e 74 6f 20 | 6e 65 78 74 4c 65 76 65 |1) into |nextLeve|
|00005fc0| 6c 0d 0d 2d 2d 20 70 75 | 74 20 69 6e 20 61 20 63 |l..-- pu|t in a c|
|00005fd0| 6c 6f 73 69 6e 67 20 62 | 61 72 20 69 66 20 74 68 |losing b|ar if th|
|00005fe0| 65 20 6c 65 76 65 6c 20 | 64 65 63 72 65 61 73 65 |e level |decrease|
|00005ff0| 73 0d 69 66 20 74 68 69 | 73 4c 65 76 65 6c 20 3e |s.if thi|sLevel >|
|00006000| 20 6e 65 78 74 4c 65 76 | 65 6c 20 74 68 65 6e 0d | nextLev|el then.|
|00006010| 69 6e 73 65 72 74 48 65 | 61 64 65 72 20 22 22 2c |insertHe|ader "",|
|00006020| 20 22 22 2c 20 74 68 69 | 73 4c 65 76 65 6c 2c 20 | "", thi|sLevel, |
|00006030| 6c 69 6e 65 4e 75 6d 62 | 65 72 0d 0d 72 65 74 75 |lineNumb|er..retu|
|00006040| 72 6e 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 2b 20 |rn lineN|umber + |
|00006050| 31 0d 65 6c 73 65 0d 72 | 65 74 75 72 6e 20 6c 69 |1.else.r|eturn li|
|00006060| 6e 65 4e 75 6d 62 65 72 | 0d 65 6e 64 20 69 66 0d |neNumber|.end if.|
|00006070| 65 6e 64 20 65 6e 64 4c | 65 76 65 6c 0d 0d 66 75 |end endL|evel..fu|
|00006080| 6e 63 74 69 6f 6e 20 73 | 68 6f 77 4c 69 73 74 20 |nction s|howList |
|00006090| 6f 6c 64 4c 69 6e 65 2c | 20 6c 69 6e 65 4e 75 6d |oldLine,| lineNum|
|000060a0| 62 65 72 0d 69 66 20 6c | 69 6e 65 4e 75 6d 62 65 |ber.if l|ineNumbe|
|000060b0| 72 20 3e 20 6f 6c 64 4c | 69 6e 65 20 74 68 65 6e |r > oldL|ine then|
|000060c0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 70 |.unlock |screen.p|
|000060d0| 75 74 20 6c 69 6e 65 4e | 75 6d 62 65 72 20 69 6e |ut lineN|umber in|
|000060e0| 74 6f 20 6f 6c 64 4c 69 | 6e 65 0d 6c 6f 63 6b 20 |to oldLi|ne.lock |
|000060f0| 20 20 73 63 72 65 65 6e | 0d 65 6e 64 20 69 66 0d | screen|.end if.|
|00006100| 0d 72 65 74 75 72 6e 20 | 6f 6c 64 4c 69 6e 65 0d |.return |oldLine.|
|00006110| 65 6e 64 20 73 68 6f 77 | 4c 69 73 74 0d 0d 66 75 |end show|List..fu|
|00006120| 6e 63 74 69 6f 6e 20 65 | 6e 64 4c 69 73 74 20 73 |nction e|ndList s|
|00006130| 74 61 72 74 4c 69 6e 65 | 2c 20 6c 69 6e 65 4e 75 |tartLine|, lineNu|
|00006140| 6d 62 65 72 0d 69 66 20 | 6c 69 6e 65 4e 75 6d 62 |mber.if |lineNumb|
|00006150| 65 72 20 3e 20 73 74 61 | 72 74 4c 69 6e 65 20 74 |er > sta|rtLine t|
|00006160| 68 65 6e 0d 70 75 74 20 | 65 6e 64 4c 65 76 65 6c |hen.put |endLevel|
|00006170| 28 6c 69 6e 65 4e 75 6d | 62 65 72 29 20 69 6e 74 |(lineNum|ber) int|
|00006180| 6f 20 6c 69 6e 65 4e 75 | 6d 62 65 72 0d 65 6e 64 |o lineNu|mber.end|
|00006190| 20 69 66 0d 0d 72 65 74 | 75 72 6e 20 6c 69 6e 65 | if..ret|urn line|
|000061a0| 4e 75 6d 62 65 72 0d 65 | 6e 64 20 65 6e 64 4c 69 |Number.e|nd endLi|
|000061b0| 73 74 0d 0d 6f 6e 20 72 | 65 6d 6f 76 65 4c 69 73 |st..on r|emoveLis|
|000061c0| 74 20 6c 69 6e 65 4e 75 | 6d 62 65 72 0d 70 75 74 |t lineNu|mber.put|
|000061d0| 20 22 43 6f 6c 6c 61 70 | 73 69 6e 67 20 6c 69 73 | "Collap|sing lis|
|000061e0| 74 22 0d 0d 70 75 74 20 | 66 69 65 6c 64 20 22 44 |t"..put |field "D|
|000061f0| 61 74 61 20 54 72 65 65 | 22 20 69 6e 74 6f 20 64 |ata Tree|" into d|
|00006200| 61 74 61 54 72 65 65 0d | 70 75 74 20 74 68 65 20 |ataTree.|put the |
|00006210| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00006220| 69 6e 20 64 61 74 61 54 | 72 65 65 20 69 6e 74 6f |in dataT|ree into|
|00006230| 20 64 61 74 61 4c 65 6e | 67 74 68 0d 0d 70 75 74 | dataLen|gth..put|
|00006240| 20 6c 69 6e 65 20 20 6c | 69 6e 65 4e 75 6d 62 65 | line l|ineNumbe|
|00006250| 72 20 20 20 20 6f 66 20 | 64 61 74 61 54 72 65 65 |r of |dataTree|
|00006260| 20 69 6e 74 6f 20 68 65 | 61 64 65 72 4c 69 6e 65 | into he|aderLine|
|00006270| 0d 70 75 74 20 66 69 6e | 64 4c 65 76 65 6c 28 6c |.put fin|dLevel(l|
|00006280| 69 6e 65 4e 75 6d 62 65 | 72 29 20 20 20 20 20 20 |ineNumbe|r) |
|00006290| 20 20 20 20 20 69 6e 74 | 6f 20 68 65 61 64 65 72 | int|o header|
|000062a0| 6c 65 76 65 6c 0d 0d 70 | 75 74 20 6c 69 6e 65 4e |level..p|ut lineN|
|000062b0| 75 6d 62 65 72 20 2b 20 | 31 20 20 20 20 20 20 20 |umber + |1 |
|000062c0| 20 20 20 20 20 20 20 69 | 6e 74 6f 20 6e 65 78 74 | i|nto next|
|000062d0| 4e 75 6d 62 65 72 0d 70 | 75 74 20 6c 69 6e 65 20 |Number.p|ut line |
|000062e0| 6e 65 78 74 4e 75 6d 62 | 65 72 20 6f 66 20 64 61 |nextNumb|er of da|
|000062f0| 74 61 54 72 65 65 20 69 | 6e 74 6f 20 6e 65 78 74 |taTree i|nto next|
|00006300| 4c 69 6e 65 0d 70 75 74 | 20 66 69 6e 64 4c 65 76 |Line.put| findLev|
|00006310| 65 6c 28 6e 65 78 74 4e | 75 6d 62 65 72 29 20 20 |el(nextN|umber) |
|00006320| 20 20 20 20 20 69 6e 74 | 6f 20 6e 65 78 74 4c 65 | int|o nextLe|
|00006330| 76 65 6c 0d 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |vel..loc|k screen|
|00006340| 0d 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 20 |..repeat| until |
|00006350| 28 6e 65 78 74 4e 75 6d | 62 65 72 20 3e 20 64 61 |(nextNum|ber > da|
|00006360| 74 61 4c 65 6e 67 74 68 | 29 20 c2 0d 6f 72 20 20 |taLength|) ..or |
|00006370| 20 20 20 20 20 20 20 28 | 28 6e 65 78 74 4c 65 76 | (|(nextLev|
|00006380| 65 6c 20 20 3d 20 68 65 | 61 64 65 72 4c 65 76 65 |el = he|aderLeve|
|00006390| 6c 29 20 61 6e 64 20 28 | 63 68 61 72 20 31 20 74 |l) and (|char 1 t|
|000063a0| 6f 20 32 20 6f 66 20 66 | 69 72 73 74 20 77 6f 72 |o 2 of f|irst wor|
|000063b0| 64 20 6f 66 20 6e 65 78 | 74 4c 69 6e 65 20 3d 20 |d of nex|tLine = |
|000063c0| 20 22 5f 5f 22 29 29 20 | c2 0d 6f 72 20 20 20 20 | "__")) |..or |
|000063d0| 20 20 20 20 20 28 28 6e | 65 78 74 4c 65 76 65 6c | ((n|extLevel|
|000063e0| 20 20 3c 20 68 65 61 64 | 65 72 4c 65 76 65 6c 29 | < head|erLevel)|
|000063f0| 20 61 6e 64 20 28 20 20 | 20 20 20 20 20 20 20 20 | and ( | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.